Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/subzero/src/
DIceTLS.h76 #define ICE_TLS_DECLARE_FIELD(Type, FieldName) \ argument
77 using FieldName##__type = Type; \
78 static pthread_key_t FieldName##__key; \
79 static int FieldName##__initStatus
80 #define ICE_TLS_DEFINE_FIELD(Type, ClassName, FieldName) \ argument
81 pthread_key_t ClassName::FieldName##__key; \
82 int ClassName::FieldName##__initStatus = 1
83 #define ICE_TLS_INIT_FIELD(FieldName) \ argument
84 if (FieldName##__initStatus) { \
85 FieldName##__initStatus = pthread_key_create(&FieldName##__key, nullptr); \
[all …]
/external/llvm/lib/TableGen/
DRecord.cpp1151 RecTy *TypedInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1153 if (RecordVal *Field = RecordType->getRecord()->getValue(FieldName)) in getFieldType()
1324 RecTy *VarInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1326 if (const RecordVal *RV = RTy->getRecord()->getValue(FieldName)) in getFieldType()
1332 const std::string &FieldName) const { in getFieldInit()
1339 if (Init *I = TheInit->getFieldInit(R, RV, FieldName)) in getFieldInit()
1439 RecTy *DefInit::getFieldType(const std::string &FieldName) const { in getFieldType()
1440 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1446 const std::string &FieldName) const { in getFieldInit()
1447 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()
/external/llvm-project/llvm/lib/TableGen/
DRecord.cpp1510 RecTy *TypedInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1513 if (RecordVal *Field = Rec->getValue(FieldName)) in getFieldType()
1689 RecTy *DefInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1690 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1841 return FieldInit::get(NewRec, FieldName)->Fold(R.getCurrentRecord()); in resolveReferences()
1851 FieldName->getAsUnquotedString() + "' of '" + in Fold()
1853 Init *FieldVal = Def->getValue(FieldName)->getValue(); in Fold()
1862 Init *FieldVal = DI->getDef()->getValue(FieldName)->getValue(); in isConcrete()
2344 SMLoc Record::getFieldLoc(StringRef FieldName) const { in getFieldLoc()
2345 const RecordVal *R = getValue(FieldName); in getFieldLoc()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DRecord.cpp1430 RecTy *TypedInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1433 if (RecordVal *Field = Rec->getValue(FieldName)) in getFieldType()
1609 RecTy *DefInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1610 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1763 return FieldInit::get(NewRec, FieldName)->Fold(R.getCurrentRecord()); in resolveReferences()
1773 FieldName->getAsUnquotedString() + "' of '" + in Fold()
1775 Init *FieldVal = Def->getValue(FieldName)->getValue(); in Fold()
2197 Init *Record::getValueInit(StringRef FieldName) const { in getValueInit()
2198 const RecordVal *R = getValue(FieldName); in getValueInit()
2201 "' does not have a field named `" + FieldName + "'!\n"); in getValueInit()
[all …]
DSetTheory.cpp242 StringRef FieldName; member
244 FieldExpander(StringRef fn) : FieldName(fn) {} in FieldExpander()
247 ST.evaluate(Def->getValueInit(FieldName), Elts, Def->getLoc()); in expand()
278 void SetTheory::addFieldExpander(StringRef ClassName, StringRef FieldName) { in addFieldExpander() argument
279 addExpander(ClassName, std::make_unique<FieldExpander>(FieldName)); in addFieldExpander()
/external/skqp/src/sksl/
DSkSLCPPCodeGenerator.cpp284 HCodeGenerator::FieldName(name.c_str()).c_str()); in writeVariableReference()
288 HCodeGenerator::FieldName(name.c_str()).c_str(), in writeVariableReference()
458 this->writeRuntimeValue(s.fType, Layout(), HCodeGenerator::FieldName(name).c_str()); in writeSetting()
531 "%s, \"%s\");\n", HCodeGenerator::FieldName(name.c_str()).c_str(), type, precision, in addUniform()
565 String name = HCodeGenerator::FieldName(String(decl.fVar->fName).c_str()); in writePrivateVars()
872 String uniformName = HCodeGenerator::FieldName(name) + "Var"; in writeSetData()
899 String prevVar = HCodeGenerator::FieldName(name) + "Prev"; in writeSetData()
941 name, HCodeGenerator::FieldName(name).c_str(), name); in writeSetData()
971 HCodeGenerator::FieldName(String(param->fName).c_str()).c_str()); in writeOnTextureSampler()
975 HCodeGenerator::FieldName(String(param->fName).c_str()).c_str()); in writeOnTextureSampler()
[all …]
DSkSLHCodeGenerator.h44 static String FieldName(const char* varName) { in FieldName() function
50 return HCodeGenerator::FieldName(arg.c_str()) + "CoordTransform"; in CoordTransformName()
DSkSLHCodeGenerator.cpp240 this->writef("\n , %s(std::move(%s)", FieldName(name).c_str(), name); in writeConstructor()
251 this->writef("\n , %s(%s)", FieldName(name).c_str(), name); in writeConstructor()
260 FieldName(s.fArgument.c_str()).c_str()); in writeConstructor()
296 FieldName(String(param->fName).c_str()).c_str()); in writeFields()
351 FieldName(name).c_str()); in generateCode()
/external/skia/src/sksl/codegen/
DSkSLCPPCodeGenerator.cpp301 HCodeGenerator::FieldName(name.c_str()).c_str()); in writeVariableReference()
305 HCodeGenerator::FieldName(name.c_str()).c_str(), in writeVariableReference()
622 HCodeGenerator::FieldName(name.c_str()).c_str(), in addUniform()
628 HCodeGenerator::FieldName(name.c_str()).c_str(), in addUniform()
664 String name = HCodeGenerator::FieldName(String(var.name()).c_str()); in writePrivateVars()
997 String uniformName = HCodeGenerator::FieldName(name) + "Var"; in writeSetData()
1022 String prevVar = HCodeGenerator::FieldName(name) + "Prev"; in writeSetData()
1064 name, HCodeGenerator::FieldName(name).c_str(), name); in writeSetData()
1096 HCodeGenerator::FieldName(String(param->name()).c_str()).c_str()); in writeOnTextureSampler()
1100 HCodeGenerator::FieldName(String(param->name()).c_str()).c_str()); in writeOnTextureSampler()
[all …]
DSkSLHCodeGenerator.h47 static String FieldName(const char* varName) { in FieldName() function
53 return HCodeGenerator::FieldName(arg.c_str()) + "CoordTransform"; in CoordTransformName()
DSkSLDSLCPPCodeGenerator.cpp956 String name = HCodeGenerator::FieldName(String(var.name()).c_str()); in writePrivateVars()
1087 String uniformName = HCodeGenerator::FieldName(name) + "Var"; in writeSetData()
1112 String prevVar = HCodeGenerator::FieldName(name) + "Prev"; in writeSetData()
1176 String fieldName = HCodeGenerator::FieldName(String(param->name()).c_str()); in writeClone()
1217 String fieldName = HCodeGenerator::FieldName(String(param->name()).c_str()); in writeDumpInfo()
1329 HCodeGenerator::FieldName(name).c_str()); in writeGetKey()
1331 HCodeGenerator::FieldName(name).c_str()); in writeGetKey()
1333 HCodeGenerator::FieldName(name).c_str()); in writeGetKey()
1335 HCodeGenerator::FieldName(name).c_str()); in writeGetKey()
1342 HCodeGenerator::FieldName(name).c_str(), name); in writeGetKey()
[all …]
/external/llvm/utils/TableGen/
DSearchableTableEmitter.cpp242 std::string FieldName = Field.getName(); in emitMapping() local
246 if (FieldName.find(':') != std::string::npos || FieldName == "NAME" || in emitMapping()
247 FieldName == "SearchableFields" || FieldName == "EnumNameField" || in emitMapping()
248 FieldName == "EnumValueField") in emitMapping()
251 FieldNames.push_back(FieldName); in emitMapping()
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DTypeIndex.cpp92 void llvm::codeview::printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, in printTypeIndex() argument
103 Printer.printHex(FieldName, TypeName, TI.getIndex()); in printTypeIndex()
105 Printer.printHex(FieldName, TI.getIndex()); in printTypeIndex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeIndex.cpp92 void llvm::codeview::printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, in printTypeIndex() argument
103 Printer.printHex(FieldName, TypeName, TI.getIndex()); in printTypeIndex()
105 Printer.printHex(FieldName, TI.getIndex()); in printTypeIndex()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_helpers.cc410 std::string FieldName(const FieldDescriptor* field) { in FieldName() function
1423 format_("_Internal::set_has_$1$(&$has_bits$);\n", FieldName(field)); in GenerateArenaString()
1440 utf8, FieldName(field), field_name, default_string); in GenerateArenaString()
1484 FieldName(field), field_name); in GenerateStrings()
1497 DeclaredTypeMethodName(field->type()), FieldName(field), in GenerateLengthDelim()
1519 FieldName(field), QualifiedClassName(val->enum_type()), in GenerateLengthDelim()
1523 FieldName(field)); in GenerateLengthDelim()
1536 FieldName(field), field->containing_oneof()->name()); in GenerateLengthDelim()
1541 FieldName(field)); in GenerateLengthDelim()
1544 FieldName(field)); in GenerateLengthDelim()
[all …]
Dcpp_field.cc64 (*variables)["name"] = FieldName(descriptor); in SetCommonFieldVariables()
69 (*variables)["field_member"] = FieldName(descriptor) + "_"; in SetCommonFieldVariables()
80 "_Internal::set_has_" + FieldName(descriptor) + "(&_has_bits_);"; in SetCommonFieldVariables()
/external/llvm/include/llvm/TableGen/
DRecord.h342 virtual RecTy *getFieldType(const std::string &FieldName) const { in getFieldType() argument
351 const std::string &FieldName) const { in getFieldInit() argument
417 RecTy *getFieldType(const std::string &FieldName) const override;
938 RecTy *getFieldType(const std::string &FieldName) const override;
940 const std::string &FieldName) const override;
1052 RecTy *getFieldType(const std::string &FieldName) const override;
1054 const std::string &FieldName) const override;
1075 std::string FieldName; // Field we are accessing variable
1078 : TypedInit(IK_FieldInit, R->getFieldType(FN)), Rec(R), FieldName(FN) { in FieldInit()
1099 return Rec->getAsString() + "." + FieldName; in getAsString()
[all …]
/external/llvm-project/llvm/include/llvm/TableGen/
DRecord.h383 virtual RecTy *getFieldType(StringInit *FieldName) const { in getFieldType() argument
433 RecTy *getFieldType(StringInit *FieldName) const override;
1168 RecTy *getFieldType(StringInit *FieldName) const override;
1233 StringInit *FieldName; // Field we are accessing variable
1236 : TypedInit(IK_FieldInit, R->getFieldType(FN)), Rec(R), FieldName(FN) { in FieldInit()
1240 << ", got FieldName = " << *FieldName in FieldInit()
1258 StringInit *getFieldName() const { return FieldName; } in getFieldName()
1267 return Rec->getAsString() + "." + FieldName->getValue().str(); in getAsString()
1618 SMLoc getFieldLoc(StringRef FieldName) const;
1622 Init *getValueInit(StringRef FieldName) const;
[all …]
/external/llvm-project/llvm/utils/TableGen/
DSearchableTableEmitter.cpp573 for (const auto &FieldName : Key) { in parseSearchIndex() local
574 const GenericField *Field = Table.getFieldByName(FieldName); in parseSearchIndex()
580 FieldName + "'"); in parseSearchIndex()
712 for (const auto &FieldName : Fields) { in run() local
713 Table->Fields.emplace_back(FieldName); // Construct a GenericField. in run()
715 if (auto TypeOfRecordVal = TableRec->getValue(("TypeOf_" + FieldName).str())) { in run()
719 "' has invalid 'TypeOf_" + FieldName + in run()
801 std::string FieldName = std::string(Field.getName()); in run() local
805 if (FieldName.find(':') != std::string::npos || in run()
806 FieldName == "SearchableFields" || FieldName == "EnumNameField" || in run()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DRecord.h402 virtual RecTy *getFieldType(StringInit *FieldName) const { in getFieldType() argument
453 RecTy *getFieldType(StringInit *FieldName) const override;
1197 RecTy *getFieldType(StringInit *FieldName) const override;
1262 StringInit *FieldName; // Field we are accessing variable
1265 : TypedInit(IK_FieldInit, R->getFieldType(FN)), Rec(R), FieldName(FN) { in FieldInit()
1269 << ", got FieldName = " << *FieldName in FieldInit()
1287 StringInit *getFieldName() const { return FieldName; } in getFieldName()
1295 return Rec->getAsString() + "." + FieldName->getValue().str(); in getAsString()
1624 Init *getValueInit(StringRef FieldName) const;
1627 bool isValueUnset(StringRef FieldName) const { in isValueUnset() argument
[all …]
/external/llvm-project/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/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/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DTypeDumpVisitor.h38 void printTypeIndex(StringRef FieldName, TypeIndex TI) const;
40 void printItemIndex(StringRef FieldName, TypeIndex TI) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeDumpVisitor.h38 void printTypeIndex(StringRef FieldName, TypeIndex TI) const;
40 void printItemIndex(StringRef FieldName, TypeIndex TI) const;

1234