Home
last modified time | relevance | path

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

12

/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp36 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit);
39 const std::string &VarName,
48 int CodeEmitterGen::getVariableBit(const std::string &VarName, in getVariableBit() argument
52 if (VI->getName() == VarName) in getVariableBit()
55 if (VI->getName() == VarName) in getVariableBit()
63 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand() argument
74 if (getVariableBit(VarName, BI, bit) != -1) in AddCodeToMergeInOperand()
88 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { in AddCodeToMergeInOperand()
106 " (no match for variable " << VarName << "):\n"; in AddCodeToMergeInOperand()
127 Case += " // op: " + VarName + "\n" + in AddCodeToMergeInOperand()
[all …]
DAsmWriterInst.cpp123 std::string VarName(AsmString.begin()+DollarPos+1, in AsmWriterInst() local
160 if (VarName.empty() && Modifier.empty()) in AsmWriterInst()
164 if (VarName.empty()) { in AsmWriterInst()
173 unsigned OpNo = CGI.Operands.getOperandNamed(VarName); in AsmWriterInst()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp191 std::string VarName; member in ForExprAST
196 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
634 const std::string &VarName) { in CreateEntryBlockAlloca() argument
638 VarName.c_str()); in CreateEntryBlockAlloca()
813 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
834 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
835 NamedValues[VarName] = Alloca; in Codegen()
859 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen()
879 NamedValues[VarName] = OldVal; in Codegen()
881 NamedValues.erase(VarName); in Codegen()
[all …]
Dtoy.cpp198 std::string VarName; member in ForExprAST
203 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
1005 const std::string &VarName) { in CreateEntryBlockAlloca() argument
1009 VarName.c_str()); in CreateEntryBlockAlloca()
1177 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
1198 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
1199 NamedValues[VarName] = Alloca; in Codegen()
1223 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen()
1243 NamedValues[VarName] = OldVal; in Codegen()
1245 NamedValues.erase(VarName); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
Dtoy.cpp199 std::string VarName; member in __anonf1d16da50111::ForExprAST
205 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
679 const std::string &VarName) { in CreateEntryBlockAlloca() argument
683 VarName.c_str()); in CreateEntryBlockAlloca()
861 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
884 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
885 NamedValues[VarName] = Alloca; in Codegen()
911 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen()
931 NamedValues[VarName] = OldVal; in Codegen()
933 NamedValues.erase(VarName); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp176 std::string VarName; member in ForExprAST
181 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
619 const std::string &VarName) { in CreateEntryBlockAlloca() argument
623 VarName.c_str()); in CreateEntryBlockAlloca()
795 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
816 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
817 NamedValues[VarName] = Alloca; in Codegen()
841 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen()
861 NamedValues[VarName] = OldVal; in Codegen()
863 NamedValues.erase(VarName); in Codegen()
[all …]
Dtoy.cpp177 std::string VarName; member in ForExprAST
182 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
903 const std::string &VarName) { in CreateEntryBlockAlloca() argument
907 VarName.c_str()); in CreateEntryBlockAlloca()
1075 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
1096 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
1097 NamedValues[VarName] = Alloca; in Codegen()
1121 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen()
1141 NamedValues[VarName] = OldVal; in Codegen()
1143 NamedValues.erase(VarName); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/
Dtoy.cpp187 ForExprAST(std::string VarName, std::unique_ptr<ExprAST> Start, in ForExprAST()
190 : VarName(std::move(VarName)), Start(std::move(Start)), End(std::move(End)), in ForExprAST()
195 std::string VarName; member
747 const std::string &VarName) { in CreateEntryBlockAlloca() argument
751 VarName.c_str()); in CreateEntryBlockAlloca()
920 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in IRGen()
941 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen()
942 C.NamedValues[VarName] = Alloca; in IRGen()
966 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); in IRGen()
986 C.NamedValues[VarName] = OldVal; in IRGen()
[all …]
/external/llvm/examples/Kaleidoscope/Orc/initial/
Dtoy.cpp187 ForExprAST(std::string VarName, std::unique_ptr<ExprAST> Start, in ForExprAST()
190 : VarName(std::move(VarName)), Start(std::move(Start)), End(std::move(End)), in ForExprAST()
195 std::string VarName; member
747 const std::string &VarName) { in CreateEntryBlockAlloca() argument
751 VarName.c_str()); in CreateEntryBlockAlloca()
920 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in IRGen()
941 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen()
942 C.NamedValues[VarName] = Alloca; in IRGen()
966 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); in IRGen()
986 C.NamedValues[VarName] = OldVal; in IRGen()
[all …]
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/
Dtoy.cpp187 ForExprAST(std::string VarName, std::unique_ptr<ExprAST> Start, in ForExprAST()
190 : VarName(std::move(VarName)), Start(std::move(Start)), End(std::move(End)), in ForExprAST()
195 std::string VarName; member
747 const std::string &VarName) { in CreateEntryBlockAlloca() argument
751 VarName.c_str()); in CreateEntryBlockAlloca()
920 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in IRGen()
941 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen()
942 C.NamedValues[VarName] = Alloca; in IRGen()
966 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); in IRGen()
986 C.NamedValues[VarName] = OldVal; in IRGen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp175 std::string VarName; member in ForExprAST
180 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
863 const std::string &VarName) { in CreateEntryBlockAlloca() argument
867 VarName.c_str()); in CreateEntryBlockAlloca()
1035 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
1056 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
1057 NamedValues[VarName] = Alloca; in Codegen()
1081 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen()
1101 NamedValues[VarName] = OldVal; in Codegen()
1103 NamedValues.erase(VarName); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp314 std::string VarName; member in __anon664ddea60211::ForExprAST
320 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
869 const std::string &VarName) { in CreateEntryBlockAlloca() argument
873 VarName.c_str()); in CreateEntryBlockAlloca()
1060 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
1085 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
1086 NamedValues[VarName] = Alloca; in Codegen()
1112 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen()
1132 NamedValues[VarName] = OldVal; in Codegen()
1134 NamedValues.erase(VarName); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/
Dtoy.cpp188 ForExprAST(std::string VarName, std::unique_ptr<ExprAST> Start, in ForExprAST()
191 : VarName(std::move(VarName)), Start(std::move(Start)), End(std::move(End)), in ForExprAST()
196 std::string VarName; member
748 const std::string &VarName) { in CreateEntryBlockAlloca() argument
752 VarName.c_str()); in CreateEntryBlockAlloca()
921 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in IRGen()
942 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen()
943 C.NamedValues[VarName] = Alloca; in IRGen()
967 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); in IRGen()
987 C.NamedValues[VarName] = OldVal; in IRGen()
[all …]
/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp217 std::string VarName; member in ForExprAST
222 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
1077 const std::string &VarName) { in CreateEntryBlockAlloca() argument
1081 VarName.c_str()); in CreateEntryBlockAlloca()
1255 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen()
1276 AllocaInst *OldVal = NamedValues[VarName]; in Codegen()
1277 NamedValues[VarName] = Alloca; in Codegen()
1301 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen()
1321 NamedValues[VarName] = OldVal; in Codegen()
1323 NamedValues.erase(VarName); in Codegen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp174 std::string VarName; member in __anon08d88ba30111::ForExprAST
180 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
661 2, VarName.c_str()); in Codegen()
666 Value *OldVal = NamedValues[VarName]; in Codegen()
667 NamedValues[VarName] = Variable; in Codegen()
713 NamedValues[VarName] = OldVal; in Codegen()
715 NamedValues.erase(VarName); in Codegen()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp193 std::string VarName; member in __anon7d54fca40111::ForExprAST
199 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST()
769 2, VarName.c_str()); in Codegen()
774 Value *OldVal = NamedValues[VarName]; in Codegen()
775 NamedValues[VarName] = Variable; in Codegen()
821 NamedValues[VarName] = OldVal; in Codegen()
823 NamedValues.erase(VarName); in Codegen()
/external/llvm/lib/TableGen/
DTGLexer.h61 Id, StrVal, VarName, CodeFragment enumerator
103 CurCode == tgtok::VarName || CurCode == tgtok::CodeFragment) && in getCurStrVal()
DTGParser.cpp1449 if (Lex.Lex() != tgtok::VarName) { // eat the ':' in ParseSimpleValue()
1635 if (Lex.getCode() == tgtok::VarName) { in ParseDagArgList()
1646 std::string VarName; in ParseDagArgList() local
1648 if (Lex.Lex() != tgtok::VarName) { // eat the ':' in ParseDagArgList()
1652 VarName = Lex.getCurStrVal(); in ParseDagArgList()
1656 Result.push_back(std::make_pair(Val, VarName)); in ParseDagArgList()
DTGLexer.cpp246 return tgtok::VarName; in LexVarName()
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmscgats.c1921 char VarName[MAXID]; in HeaderSection() local
1950 strncpy(VarName, it8->id, MAXID-1); in HeaderSection()
1951 VarName[MAXID-1] = 0; in HeaderSection()
1953 if (!IsAvailableOnList(it8-> ValidKeywords, VarName, NULL, &Key)) { in HeaderSection()
1956 return SynError(it8, "Undefined keyword '%s'", VarName); in HeaderSection()
1958 Key = AddAvailableProperty(it8, VarName, WRITE_UNCOOKED); in HeaderSection()
1967 AddToList(it8, &GetTable(it8)->HeaderList, VarName, NULL, Buffer, in HeaderSection()
1974 … return SynError(it8, "Invalid value '%s' for property '%s'.", Buffer, VarName); in HeaderSection()
1989 return SynError(it8, "Invalid value for property '%s'.", VarName); in HeaderSection()
2004 return SynError(it8, "Invalid value for property '%s'.", VarName); in HeaderSection()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp185 static std::string getVarName(InstrProfIncrementInst *Inc, StringRef VarName) { in getVarName() argument
188 return ("__llvm_profile_" + VarName + "_" + Name).str(); in getVarName()
/external/llvm/docs/tutorial/
DLangImpl5.rst466 std::string VarName;
471 : VarName(varname), Start(start), End(end), Step(step), Body(body) {}
607 … PHINode *Variable = Builder.CreatePHI(Type::getDoubleTy(getGlobalContext()), 2, VarName.c_str());
621 Value *OldVal = NamedValues[VarName];
622 NamedValues[VarName] = Variable;
637 entry for VarName) but we choose to allow shadowing of variables. In
708 NamedValues[VarName] = OldVal;
710 NamedValues.erase(VarName);
DLangImpl7.rst339 const std::string &VarName) {
343 VarName.c_str());
377 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
776 const std::string &VarName = VarNames[i].first;
798 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
803 OldBindings.push_back(NamedValues[VarName]);
806 NamedValues[VarName] = Alloca;
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp6408 StringRef VarName, in Write_protocol_list_initializer() argument
6413 Result += " "; Result += VarName; in Write_protocol_list_initializer()
6432 StringRef VarName, in Write_method_list_t_initializer() argument
6438 Result += " "; Result += VarName; in Write_method_list_t_initializer()
6474 StringRef VarName, in Write_prop_list_t_initializer() argument
6479 Result += " "; Result += VarName; in Write_prop_list_t_initializer()
6526 StringRef VarName, in Write__class_ro_t_initializer() argument
6529 Result += VarName; Result += ClassName; in Write__class_ro_t_initializer()
6586 StringRef VarName, in Write_class_t() argument
6623 Result += VarName; in Write_class_t()
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h1054 Init *VarName; variable
1057 : TypedInit(IK_VarInit, T), VarName(StringInit::get(VN)) {} in VarInit()
1059 : TypedInit(IK_VarInit, T), VarName(VN) {} in VarInit()
1076 Init *getNameInit() const { return VarName; } in getNameInit()

12