Home
last modified time | relevance | path

Searched refs:StringInit (Results 1 – 14 of 14) sorted by relevance

/external/llvm/lib/TableGen/
DRecord.cpp453 StringInit *StringInit::get(StringRef V) { in get()
454 static StringMap<std::unique_ptr<StringInit>> ThePool; in get()
456 std::unique_ptr<StringInit> &I = ThePool[V]; in get()
457 if (!I) I.reset(new StringInit(V)); in get()
461 Init *StringInit::convertInitializerTo(RecTy *Ty) const { in convertInitializerTo()
463 return const_cast<StringInit *>(this); in convertInitializerTo()
621 if (StringInit *LHSs = dyn_cast<StringInit>(LHS)) in Fold()
625 return StringInit::get(LHSd->getAsString()); in Fold()
628 return StringInit::get(LHSi->getAsString()); in Fold()
630 if (StringInit *LHSs = dyn_cast<StringInit>(LHS)) { in Fold()
[all …]
DTGParser.cpp752 return StringInit::get(Name); in ParseIDValue()
762 return StringInit::get(Name); in ParseIDValue()
822 StringInit *LHSs = dyn_cast<StringInit>(LHS); in ParseOperation()
1168 R = StringInit::get(Val); in ParseSimpleValue()
1172 R = StringInit::get(Lex.getCurStrVal()); in ParseSimpleValue()
1564 RHS = StringInit::get(""); in ParseValue()
1708 Init *DeclName = StringInit::get(Lex.getCurStrVal()); in ParseDeclaration()
1755 Init *DeclName = StringInit::get(Lex.getCurStrVal()); in ParseForeachDeclaration()
2331 DefmPrefix = StringInit::get(GetNewAnonymousName()); in InstantiateMulticlassDef()
2336 StringInit *DefNameString = dyn_cast<StringInit>(DefName); in InstantiateMulticlassDef()
[all …]
DSetTheory.cpp183 if (StringInit *SI = dyn_cast<StringInit>(Expr->arg_begin()[0])) in apply()
308 if (!dyn_cast<StringInit>(SC[i]->getNameInit())) in expand()
DTGParser.h111 return SetValue(TheRec, Loc, StringInit::get(ValName), BitList, V); in SetValue()
/external/llvm/test/CodeGen/ARM/
D2010-06-21-nondarwin-tc.ll10 %"class.llvm::StringInit" = type { [8 x i8], %"class.std::basic_string" }
31 …m7VarInit12getFieldInitERNS_6RecordEPKNS_9RecordValERKSs(%"class.llvm::StringInit"* %this, %"class…
36 …%tmp.i = getelementptr inbounds %"class.llvm::StringInit", %"class.llvm::StringInit"* %this, i32 0…
55 …%tmp2.i.i.i.i = getelementptr inbounds %"class.llvm::StringInit", %"class.llvm::StringInit"* %this…
126 …%8 = bitcast %"class.llvm::StringInit"* %this to %"struct.llvm::Init"* ; <%"struct.llvm::Init"*> […
/external/llvm/include/llvm/TableGen/
DRecord.h547 class StringInit : public TypedInit {
550 explicit StringInit(StringRef V) in StringInit() function
553 StringInit(const StringInit &Other) = delete;
554 StringInit &operator=(const StringInit &Other) = delete;
560 static StringInit *get(StringRef);
1190 : Record(StringInit::get(N), locs, records, Anonymous) {} in Record()
1236 return isTemplateArg(StringInit::get(Name)); in isTemplateArg()
1245 return getValue(StringInit::get(Name)); in getValue()
1253 return getValue(StringInit::get(Name)); in getValue()
1261 addTemplateArg(StringInit::get(Name)); in addTemplateArg()
[all …]
/external/clang/utils/TableGen/
DNeonEmitter.cpp1406 if (StringInit *SI = dyn_cast<StringInit>(I)) { in emitBody()
1462 std::string Op = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagOp()
1491 if (StringInit *SI = dyn_cast<StringInit>(DI->getArg(0))) in emitDagCall()
1534 StringInit *SI = dyn_cast<StringInit>(DI->getArg(ArgIdx)); in emitDagCast()
1744 std::string ToReplace = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagNameReplace()
1745 std::string ReplaceWith = cast<StringInit>(DI->getArg(1))->getAsUnquotedString(); in emitDagNameReplace()
1756 std::string Ty = cast<StringInit>(DI->getArg(0))->getAsUnquotedString(); in emitDagLiteral()
1757 std::string Value = cast<StringInit>(DI->getArg(1))->getAsUnquotedString(); in emitDagLiteral()
DClangSACheckersEmitter.cpp67 if (StringInit *SI = dyn_cast<StringInit>(R.getValueInit(field))) in getStringValue()
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp1283 if (StringInit *SI = dyn_cast<StringInit>(PMName)) { in buildOperandClasses()
1292 if (StringInit *SI = dyn_cast<StringInit>(RMName)) { in buildOperandClasses()
1301 if (StringInit *SI = dyn_cast<StringInit>(PRMName)) in buildOperandClasses()
1307 if (StringInit *SI = dyn_cast<StringInit>(DiagnosticType)) in buildOperandClasses()
DFixedLenDecoderEmitter.cpp1857 StringInit *String = DecoderString ? in populateInstruction()
1858 dyn_cast<StringInit>(DecoderString->getValue()) : nullptr; in populateInstruction()
1887 dyn_cast<StringInit>(DecoderString->getValue()) : nullptr; in populateInstruction()
1965 StringInit *String = DecoderString ? in populateInstruction()
1966 dyn_cast<StringInit>(DecoderString->getValue()) : nullptr; in populateInstruction()
DAsmWriterEmitter.cpp1085 if (StringInit *SI = dyn_cast<StringInit>(MCOpPred)) { in EmitPrintAliasInstruction()
DFastISelEmitter.cpp435 PhysReg += cast<StringInit>(OpLeafRec->getValue("Namespace")->getValue()) in PhyRegForNode()
DCodeGenSchedule.cpp59 StringInit *SI = dyn_cast<StringInit>(*AI); in apply()
DCodeGenRegisters.cpp566 StringInit *BlankName = StringInit::get(""); in expand()