Home
last modified time | relevance | path

Searched refs:FieldName (Results 1 – 25 of 25) sorted by relevance

/external/llvm/lib/TableGen/
DRecord.cpp1241 RecTy *TypedInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1244 RecordVal *Field = RecordType->getRecord()->getValue(FieldName); in getFieldType()
1342 RecTy *VarInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1344 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
1350 const std::string &FieldName) const { in getFieldInit()
1357 if (Init *I = TheInit->getFieldInit(R, RV, FieldName)) in getFieldInit()
1456 RecTy *DefInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1457 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1463 const std::string &FieldName) const { in getFieldInit()
1464 return Def->getValue(FieldName)->getValue(); in getFieldInit()
[all …]
DTGParser.cpp1825 std::string FieldName = Lex.getCurStrVal(); in ParseBodyItem() local
1837 RecordVal *Field = CurRec->getValue(FieldName); in ParseBodyItem()
1839 return TokError("Value '" + FieldName + "' unknown!"); in ParseBodyItem()
1850 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/external/llvm/include/llvm/TableGen/
DRecord.h493 virtual RecTy *getFieldType(const std::string &FieldName) const { return 0; } in getFieldType() argument
500 const std::string &FieldName) const { in getFieldInit() argument
554 virtual RecTy *getFieldType(const std::string &FieldName) const;
1008 virtual RecTy *getFieldType(const std::string &FieldName) const;
1010 const std::string &FieldName) const;
1124 virtual RecTy *getFieldType(const std::string &FieldName) const;
1126 const std::string &FieldName) const;
1148 std::string FieldName; // Field we are accessing variable
1151 : TypedInit(R->getFieldType(FN)), Rec(R), FieldName(FN) { in FieldInit()
1175 return Rec->getAsString() + "." + FieldName; in getAsString()
[all …]
/external/llvm/test/CodeGen/X86/
Dvortex-bug.ll6 define fastcc i32 @Env_GetFieldStruc(i8* %FieldName, i32* %Status, %struct.fieldstruc* %FieldStruc)…
19 %tmp139.i = getelementptr i8* %FieldName, i64 %tmp139.rec.i ; <i8*> [#uses=0]
/external/llvm/utils/TableGen/
DSetTheory.cpp223 StringRef FieldName; member
225 FieldExpander(StringRef fn) : FieldName(fn) {} in FieldExpander()
228 ST.evaluate(Def->getValueInit(FieldName), Elts); in expand()
258 void SetTheory::addFieldExpander(StringRef ClassName, StringRef FieldName) { in addFieldExpander() argument
259 addExpander(ClassName, new FieldExpander(FieldName)); in addFieldExpander()
DSetTheory.h116 void addFieldExpander(StringRef ClassName, StringRef FieldName);
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc57 const string& FieldName(const FieldDescriptor* field) { in FieldName() function
102 return UnderscoresToCamelCaseImpl(FieldName(field), false); in UnderscoresToCamelCase()
106 return UnderscoresToCamelCaseImpl(FieldName(field), true); in UnderscoresToCapitalizedCamelCase()
/external/smali/baksmali/src/main/resources/templates/templates/
Dbaksmali.stg83 field(AccessFlags, FieldName, FieldType, Annotations, InitialValue, Comments) ::=
88 .field <AccessFlags: {<it> }><FieldName>:<FieldType><if(InitialValue)> = <InitialValue><endif>
383 FieldReference(ContainingClass, FieldName, FieldType) ::=
385 <ContainingClass>-><FieldName>:<FieldType>
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.cc57 const string& FieldName(const FieldDescriptor* field) { in FieldName() function
102 return UnderscoresToCamelCaseImpl(FieldName(field), false); in UnderscoresToCamelCase()
106 return UnderscoresToCamelCaseImpl(FieldName(field), true); in UnderscoresToCapitalizedCamelCase()
/external/clang/lib/Parse/
DParseInit.cpp156 const IdentifierInfo *FieldName = Tok.getIdentifierInfo(); in ParseInitializerWithPotentialDesignator() local
159 llvm::raw_svector_ostream(NewSyntax) << '.' << FieldName->getName() in ParseInitializerWithPotentialDesignator()
172 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc)); in ParseInitializerWithPotentialDesignator()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h69 string FieldName(const FieldDescriptor* field);
Dcpp_field.cc56 (*variables)["name"] = FieldName(descriptor); in SetCommonFieldVariables()
Dcpp_message.cc779 "name", FieldName(field)); in GenerateOffsets()
833 "name", FieldName(field)); in GenerateSharedDestructorCode()
875 "name", FieldName(field), in GenerateStructors()
1640 "name", FieldName(field)); in GenerateByteSize()
1743 "name", FieldName(field)); in GenerateIsInitialized()
1749 "name", FieldName(field)); in GenerateIsInitialized()
Dcpp_helpers.cc153 string FieldName(const FieldDescriptor* field) { in FieldName() function
/external/llvm/test/CodeGen/ARM/
D2010-06-21-nondarwin-tc.ll31 …llvm::Record"* %R, %"class.llvm::RecordVal"* %RV, %"class.std::basic_string"* %FieldName) align 2 {
139 …ecord"* %R, %"class.llvm::RecordVal"* %RV, %"class.std::basic_string"* %FieldName) ; <%"struct.llv…
/external/clang/lib/Sema/
DSemaInit.cpp1505 IdentifierInfo *FieldName) { in FindIndirectFieldDesignator() argument
1506 if (!FieldName) in FindIndirectFieldDesignator()
1513 if (FieldName == IF->getAnonField()->getIdentifier()) in FindIndirectFieldDesignator()
1664 IdentifierInfo *FieldName = D->getFieldName(); in CheckDesignatedInitializer() local
1677 FindIndirectFieldDesignator(*Field, FieldName)) { in CheckDesignatedInitializer()
1688 if (FieldName && FieldName == Field->getIdentifier()) in CheckDesignatedInitializer()
1705 DeclContext::lookup_result Lookup = RT->getDecl()->lookup(FieldName); in CheckDesignatedInitializer()
1712 DeclarationNameInfo(FieldName, D->getFieldLoc()), in CheckDesignatedInitializer()
1723 << FieldName << CurrentObjectType << CorrectedQuotedStr in CheckDesignatedInitializer()
1730 << FieldName << CurrentObjectType; in CheckDesignatedInitializer()
[all …]
DSemaDecl.cpp9171 IdentifierInfo *FieldName, in VerifyBitField() argument
9184 if (FieldName) in VerifyBitField()
9186 << FieldName << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
9208 if (Value == 0 && FieldName) in VerifyBitField()
9209 return Diag(FieldLoc, diag::err_bitfield_has_zero_width) << FieldName; in VerifyBitField()
9212 if (FieldName) in VerifyBitField()
9214 << FieldName << Value.toString(10); in VerifyBitField()
9223 if (FieldName) in VerifyBitField()
9225 << FieldName << (unsigned)Value.getZExtValue() in VerifyBitField()
9232 if (FieldName) in VerifyBitField()
[all …]
/external/clang/lib/Rewrite/Frontend/
DRewriteObjC.cpp3497 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3498 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3516 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
3520 S += FieldName + ";\n"; in SynthesizeBlockImpl()
3526 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3527 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3530 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
3532 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
3536 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
DRewriteModernObjC.cpp4121 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4122 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4140 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
4144 S += FieldName + ";\n"; in SynthesizeBlockImpl()
4150 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4151 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4154 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
4156 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
4160 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp1385 StringRef FieldName = Field->getName(); in CreateType() local
1388 if (FieldName.empty()) in CreateType()
1442 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, in CreateType()
2370 StringRef FieldName = Field->getName(); in EmitDeclare() local
2373 if (FieldName.empty() && !isa<RecordType>(Field->getType())) in EmitDeclare()
2379 FieldName, Unit, Line, FieldTy, in EmitDeclare()
/external/clang/lib/Analysis/
DThreadSafety.cpp613 std::string FieldName = N->getNamedDecl()->getNameAsString(); in toString() local
615 return FieldName; in toString()
619 return S + "->" + FieldName; in toString()
621 return S + "." + FieldName; in toString()
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp25 getValueAsListOfStrings(Record &R, StringRef FieldName) { in getValueAsListOfStrings() argument
26 ListInit *List = R.getValueAsListInit(FieldName); in getValueAsListOfStrings()
/external/clang/include/clang/AST/
DExpr.h3786 Designator(const IdentifierInfo *FieldName, SourceLocation DotLoc, in Designator() argument
3789 Field.NameOrField = reinterpret_cast<uintptr_t>(FieldName) | 0x01; in Designator()
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc542 TEST_F(DescriptorTest, FieldName) { in TEST_F() argument
/external/clang/include/clang/Sema/
DSema.h6881 ExprResult VerifyBitField(SourceLocation FieldLoc, IdentifierInfo *FieldName,