Home
last modified time | relevance | path

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

12

/external/llvm/lib/TableGen/
DRecord.cpp1282 RecTy *TypedInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1284 if (RecordVal *Field = RecordType->getRecord()->getValue(FieldName)) in getFieldType()
1377 RecTy *VarInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1379 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
1385 const std::string &FieldName) const { in getFieldInit()
1392 if (Init *I = TheInit->getFieldInit(R, RV, FieldName)) in getFieldInit()
1490 RecTy *DefInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1491 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1497 const std::string &FieldName) const { in getFieldInit()
1498 return Def->getValue(FieldName)->getValue(); in getFieldInit()
[all …]
DSetTheory.cpp232 StringRef FieldName; member
234 FieldExpander(StringRef fn) : FieldName(fn) {} in FieldExpander()
237 ST.evaluate(Def->getValueInit(FieldName), Elts, Def->getLoc()); in expand()
268 void SetTheory::addFieldExpander(StringRef ClassName, StringRef FieldName) { in addFieldExpander() argument
269 addExpander(ClassName, new FieldExpander(FieldName)); in addFieldExpander()
DTGParser.cpp1912 std::string FieldName = Lex.getCurStrVal(); in ParseBodyItem() local
1924 RecordVal *Field = CurRec->getValue(FieldName); in ParseBodyItem()
1926 return TokError("Value '" + FieldName + "' unknown!"); in ParseBodyItem()
1937 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/external/llvm/include/llvm/TableGen/
DRecord.h519 virtual RecTy *getFieldType(const std::string &FieldName) const { in getFieldType() argument
528 const std::string &FieldName) const { in getFieldInit() argument
586 RecTy *getFieldType(const std::string &FieldName) const override;
1084 RecTy *getFieldType(const std::string &FieldName) const override;
1086 const std::string &FieldName) const override;
1206 RecTy *getFieldType(const std::string &FieldName) const override;
1208 const std::string &FieldName) const override;
1229 std::string FieldName; // Field we are accessing variable
1232 : TypedInit(IK_FieldInit, R->getFieldType(FN)), Rec(R), FieldName(FN) { in FieldInit()
1258 return Rec->getAsString() + "." + FieldName; in getAsString()
[all …]
DSetTheory.h118 void addFieldExpander(StringRef ClassName, StringRef FieldName);
/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, i8* %FieldName, i64 %tmp139.rec.i ; <i8*> [#uses=0]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc764 "name", FieldName(descriptor_->field(i))); in GenerateClassDefinition()
768 "name", FieldName(descriptor_->field(i))); in GenerateClassDefinition()
847 fieldname_to_chunk[FieldName(field)] = i / 8; in GenerateClassDefinition()
859 const string& fieldname = FieldName(field); in GenerateClassDefinition()
1275 "name", FieldName(field)); in GenerateOffsets()
1281 "name", FieldName(field)); in GenerateOffsets()
1371 "name", FieldName(field)); in GenerateSharedDestructorCode()
1420 name += FieldName(field); in GenerateStructors()
1562 fieldname_to_chunk[FieldName(field)] = chunk; in GenerateClear()
1607 const string fieldname = FieldName(field); in GenerateClear()
[all …]
Dcpp_field.cc59 (*variables)["name"] = FieldName(descriptor); in SetCommonFieldVariables()
Dcpp_helpers.h75 string FieldName(const FieldDescriptor* field);
Dcpp_string_field.cc57 : "_default_" + FieldName(descriptor) + "_"; in SetStringVariables()
Dcpp_helpers.cc169 string FieldName(const FieldDescriptor* field) { in FieldName() function
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_helpers.cc58 const string& FieldName(const FieldDescriptor* field) { in FieldName() function
103 return UnderscoresToCamelCaseImpl(FieldName(field), false); in UnderscoresToCamelCase()
107 return UnderscoresToCamelCaseImpl(FieldName(field), true); in UnderscoresToCapitalizedCamelCase()
/external/clang/lib/Parse/
DParseInit.cpp138 const IdentifierInfo *FieldName = Tok.getIdentifierInfo(); in ParseInitializerWithPotentialDesignator() local
141 llvm::raw_svector_ostream(NewSyntax) << '.' << FieldName->getName() in ParseInitializerWithPotentialDesignator()
154 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc)); in ParseInitializerWithPotentialDesignator()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.cc101 const string& FieldName(const FieldDescriptor* field) { in FieldName() function
146 return UnderscoresToCamelCaseImpl(FieldName(field), false); in UnderscoresToCamelCase()
150 return UnderscoresToCamelCaseImpl(FieldName(field), true); in UnderscoresToCapitalizedCamelCase()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc83 string FieldName(const FieldDescriptor* field) { in FieldName() function
140 return UnderscoresToCamelCase(FieldName(field), false); in UnderscoresToCamelCase()
144 return UnderscoresToCamelCase(FieldName(field), true); in UnderscoresToCapitalizedCamelCase()
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp67 void printDataDirectory(uint32_t Index, const std::string &FieldName);
353 void COFFDumper::printDataDirectory(uint32_t Index, const std::string &FieldName) { in printDataDirectory() argument
357 W.printHex(FieldName + "RVA", Data->RelativeVirtualAddress); in printDataDirectory()
358 W.printHex(FieldName + "Size", Data->Size); in printDataDirectory()
/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/CodeGen/
DCGDebugInfo.cpp1740 StringRef FieldName = Field->getName(); in CreateTypeDefinition() local
1743 if (FieldName.empty()) in CreateTypeDefinition()
1807 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
2878 StringRef FieldName = Field->getName(); in EmitDeclare() local
2881 if (FieldName.empty() && !isa<RecordType>(Field->getType())) in EmitDeclare()
2886 Tag, Scope, FieldName, Unit, Line, FieldTy, in EmitDeclare()
3196 StringRef FieldName = Field->getName(); in CollectAnonRecordDecls() local
3199 if (FieldName.empty()) { in CollectAnonRecordDecls()
3208 DContext, FieldName, LinkageName, Unit, LineNo, FieldTy, in CollectAnonRecordDecls()
/external/clang/tools/libclang/
DCXType.cpp815 DeclarationName FieldName(II); in clang_Type_getOffsetOf() local
820 RecordDecl::lookup_result Res = RD->lookup(FieldName); in clang_Type_getOffsetOf()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp3425 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3426 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3444 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
3448 S += FieldName + ";\n"; in SynthesizeBlockImpl()
3454 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3455 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3458 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
3460 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
3464 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
DRewriteModernObjC.cpp4288 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4289 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4307 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
4311 S += FieldName + ";\n"; in SynthesizeBlockImpl()
4317 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4318 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4321 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
4323 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
4327 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
/external/clang/lib/Sema/
DSemaInit.cpp1948 IdentifierInfo *FieldName = D->getFieldName(); in CheckDesignatedInitializer() local
1949 DeclContext::lookup_result Lookup = RT->getDecl()->lookup(FieldName); in CheckDesignatedInitializer()
1974 << FieldName; in CheckDesignatedInitializer()
1984 DeclarationNameInfo(FieldName, D->getFieldLoc()), in CheckDesignatedInitializer()
1991 << FieldName << CurrentObjectType); in CheckDesignatedInitializer()
1997 << FieldName << CurrentObjectType; in CheckDesignatedInitializer()
DSemaDecl.cpp12207 IdentifierInfo *FieldName, in VerifyBitField() argument
12220 if (FieldName) in VerifyBitField()
12222 << FieldName << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
12244 if (Value == 0 && FieldName) in VerifyBitField()
12245 return Diag(FieldLoc, diag::err_bitfield_has_zero_width) << FieldName; in VerifyBitField()
12248 if (FieldName) in VerifyBitField()
12250 << FieldName << Value.toString(10); in VerifyBitField()
12260 if (FieldName) in VerifyBitField()
12262 << FieldName << (unsigned)Value.getZExtValue() in VerifyBitField()
12269 if (FieldName) in VerifyBitField()
[all …]
/external/clang/tools/c-index-test/
Dc-index-test.c1377 const char *FieldName = clang_getCString(FieldSpelling); in PrintTypeSize() local
1393 FieldName); in PrintTypeSize()
/external/clang/include/clang/AST/
DExpr.h4053 Designator(const IdentifierInfo *FieldName, SourceLocation DotLoc, in Designator() argument
4056 Field.NameOrField = reinterpret_cast<uintptr_t>(FieldName) | 0x01; in Designator()

12