Home
last modified time | relevance | path

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

12

/external/llvm/lib/TableGen/
DRecord.cpp1094 RecTy *TypedInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1096 if (RecordVal *Field = RecordType->getRecord()->getValue(FieldName)) in getFieldType()
1261 RecTy *VarInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1263 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
1269 const std::string &FieldName) const { in getFieldInit()
1276 if (Init *I = TheInit->getFieldInit(R, RV, FieldName)) in getFieldInit()
1381 RecTy *DefInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1382 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1388 const std::string &FieldName) const { in getFieldInit()
1389 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, llvm::make_unique<FieldExpander>(FieldName)); in addFieldExpander()
DTGParser.cpp1877 std::string FieldName = Lex.getCurStrVal(); in ParseBodyItem() local
1889 RecordVal *Field = CurRec->getValue(FieldName); in ParseBodyItem()
1891 return TokError("Value '" + FieldName + "' unknown!"); in ParseBodyItem()
1902 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/external/llvm/include/llvm/TableGen/
DRecord.h319 virtual RecTy *getFieldType(const std::string &FieldName) const { in getFieldType() argument
328 const std::string &FieldName) const { in getFieldInit() argument
393 RecTy *getFieldType(const std::string &FieldName) const override;
861 RecTy *getFieldType(const std::string &FieldName) const override;
863 const std::string &FieldName) const override;
975 RecTy *getFieldType(const std::string &FieldName) const override;
977 const std::string &FieldName) const override;
998 std::string FieldName; // Field we are accessing variable
1001 : TypedInit(IK_FieldInit, R->getFieldType(FN)), Rec(R), FieldName(FN) { in FieldInit()
1022 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/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dservice_registry.py397 return self.__names.FieldName(body_type['$ref'])
406 body_field_name = self.__names.FieldName(
411 body_field_name = self.__names.FieldName(
Dutil.py123 def FieldName(self, name): member in Names
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp68 void printDataDirectory(uint32_t Index, const std::string &FieldName);
361 void COFFDumper::printDataDirectory(uint32_t Index, const std::string &FieldName) { in printDataDirectory() argument
365 W.printHex(FieldName + "RVA", Data->RelativeVirtualAddress); in printDataDirectory()
366 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.cpp1842 StringRef FieldName = Field->getName(); in CreateTypeDefinition() local
1845 if (FieldName.empty()) in CreateTypeDefinition()
1909 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
3014 StringRef FieldName = Field->getName(); in EmitDeclare() local
3017 if (FieldName.empty() && !isa<RecordType>(Field->getType())) in EmitDeclare()
3022 Scope, FieldName, Unit, Line, FieldTy, CGM.getLangOpts().Optimize, in EmitDeclare()
3319 StringRef FieldName = Field->getName(); in CollectAnonRecordDecls() local
3322 if (FieldName.empty()) { in CollectAnonRecordDecls()
3330 GV = DBuilder.createGlobalVariable(DContext, FieldName, LinkageName, Unit, in CollectAnonRecordDecls()
/external/clang/tools/libclang/
DCXType.cpp816 DeclarationName FieldName(II); in clang_Type_getOffsetOf() local
821 RecordDecl::lookup_result Res = RD->lookup(FieldName); in clang_Type_getOffsetOf()
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp3414 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3415 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3433 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
3437 S += FieldName + ";\n"; in SynthesizeBlockImpl()
3443 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3444 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3447 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
3449 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
3453 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
DRewriteModernObjC.cpp4269 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4270 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4288 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
4292 S += FieldName + ";\n"; in SynthesizeBlockImpl()
4298 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4299 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4302 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
4304 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
4308 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
/external/clang/lib/Sema/
DSemaInit.cpp2089 IdentifierInfo *FieldName = D->getFieldName(); in CheckDesignatedInitializer() local
2090 DeclContext::lookup_result Lookup = RT->getDecl()->lookup(FieldName); in CheckDesignatedInitializer()
2115 << FieldName; in CheckDesignatedInitializer()
2125 DeclarationNameInfo(FieldName, D->getFieldLoc()), in CheckDesignatedInitializer()
2132 << FieldName << CurrentObjectType); in CheckDesignatedInitializer()
2138 << FieldName << CurrentObjectType; in CheckDesignatedInitializer()
DSemaDecl.cpp12789 IdentifierInfo *FieldName, in VerifyBitField() argument
12802 if (FieldName) in VerifyBitField()
12804 << FieldName << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
12826 if (Value == 0 && FieldName) in VerifyBitField()
12827 return Diag(FieldLoc, diag::err_bitfield_has_zero_width) << FieldName; in VerifyBitField()
12830 if (FieldName) in VerifyBitField()
12832 << FieldName << Value.toString(10); in VerifyBitField()
12852 if (FieldName) in VerifyBitField()
12854 << FieldName << (unsigned)Value.getZExtValue() in VerifyBitField()
12866 if (FieldName) in VerifyBitField()
[all …]

12