Home
last modified time | relevance | path

Searched refs:VarName (Results 1 – 25 of 31) 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()
170 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/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/Chapter7/
Dtoy.cpp200 std::string VarName; member in __anon413974710111::ForExprAST
204 ForExprAST(const std::string &VarName, std::unique_ptr<ExprAST> Start, in ForExprAST() argument
207 : VarName(VarName), Start(std::move(Start)), End(std::move(End)), in ForExprAST()
704 const std::string &VarName) { in CreateEntryBlockAlloca() argument
708 VarName.c_str()); in CreateEntryBlockAlloca()
888 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
911 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
912 NamedValues[VarName] = Alloca; in codegen()
938 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in codegen()
958 NamedValues[VarName] = OldVal; in codegen()
[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
746 const std::string &VarName) { in CreateEntryBlockAlloca() argument
750 VarName.c_str()); in CreateEntryBlockAlloca()
919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in IRGen()
940 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen()
941 C.NamedValues[VarName] = Alloca; in IRGen()
965 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); in IRGen()
985 C.NamedValues[VarName] = OldVal; in IRGen()
[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
746 const std::string &VarName) { in CreateEntryBlockAlloca() argument
750 VarName.c_str()); in CreateEntryBlockAlloca()
919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in IRGen()
940 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen()
941 C.NamedValues[VarName] = Alloca; in IRGen()
965 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); in IRGen()
985 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
746 const std::string &VarName) { in CreateEntryBlockAlloca() argument
750 VarName.c_str()); in CreateEntryBlockAlloca()
919 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in IRGen()
940 AllocaInst *OldVal = C.NamedValues[VarName]; in IRGen()
941 C.NamedValues[VarName] = Alloca; in IRGen()
965 Value *CurVar = C.getBuilder().CreateLoad(Alloca, VarName.c_str()); in IRGen()
985 C.NamedValues[VarName] = OldVal; in IRGen()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp313 std::string VarName; member in __anonb5b5e5720211::ForExprAST
317 ForExprAST(const std::string &VarName, std::unique_ptr<ExprAST> Start, in ForExprAST() argument
320 : VarName(VarName), Start(std::move(Start)), End(std::move(End)), in ForExprAST()
886 const std::string &VarName) { in CreateEntryBlockAlloca() argument
890 VarName.c_str()); in CreateEntryBlockAlloca()
1079 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in codegen()
1104 AllocaInst *OldVal = NamedValues[VarName]; in codegen()
1105 NamedValues[VarName] = Alloca; in codegen()
1131 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in codegen()
1151 NamedValues[VarName] = OldVal; in codegen()
[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/lib/ProfileData/
DInstrProf.cpp118 std::string VarName = getInstrProfNameVarPrefix(); in getPGOFuncNameVarName() local
119 VarName += FuncName; in getPGOFuncNameVarName()
122 return VarName; in getPGOFuncNameVarName()
126 size_t found = VarName.find_first_of(InvalidChars); in getPGOFuncNameVarName()
128 VarName[found] = '_'; in getPGOFuncNameVarName()
129 found = VarName.find_first_of(InvalidChars, found + 1); in getPGOFuncNameVarName()
131 return VarName; in getPGOFuncNameVarName()
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp175 std::string VarName; member in __anon5840926f0111::ForExprAST
179 ForExprAST(const std::string &VarName, std::unique_ptr<ExprAST> Start, in ForExprAST() argument
182 : VarName(VarName), Start(std::move(Start)), End(std::move(End)), in ForExprAST()
685 2, VarName.c_str()); in codegen()
690 Value *OldVal = NamedValues[VarName]; in codegen()
691 NamedValues[VarName] = Variable; in codegen()
737 NamedValues[VarName] = OldVal; in codegen()
739 NamedValues.erase(VarName); in codegen()
/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
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/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/Chapter6/
Dtoy.cpp194 std::string VarName; member in __anonccbd03700111::ForExprAST
198 ForExprAST(const std::string &VarName, std::unique_ptr<ExprAST> Start, in ForExprAST() argument
201 : VarName(VarName), Start(std::move(Start)), End(std::move(End)), in ForExprAST()
796 2, VarName.c_str()); in codegen()
801 Value *OldVal = NamedValues[VarName]; in codegen()
802 NamedValues[VarName] = Variable; in codegen()
848 NamedValues[VarName] = OldVal; in codegen()
850 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.cpp1415 if (Lex.Lex() != tgtok::VarName) { // eat the ':' in ParseSimpleValue()
1601 if (Lex.getCode() == tgtok::VarName) { in ParseDagArgList()
1612 std::string VarName; in ParseDagArgList() local
1614 if (Lex.Lex() != tgtok::VarName) { // eat the ':' in ParseDagArgList()
1618 VarName = Lex.getCurStrVal(); in ParseDagArgList()
1622 Result.push_back(std::make_pair(Val, VarName)); in ParseDagArgList()
DTGLexer.cpp246 return tgtok::VarName; in LexVarName()
/external/pdfium/third_party/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/docs/tutorial/
DLangImpl5.rst494 std::string VarName;
498 ForExprAST(const std::string &VarName, std::unique_ptr<ExprAST> Start,
501 : VarName(VarName), Start(std::move(Start)), End(std::move(End)),
646 2, VarName.c_str());
660 Value *OldVal = NamedValues[VarName];
661 NamedValues[VarName] = Variable;
676 entry for VarName) but we choose to allow shadowing of variables. In
749 NamedValues[VarName] = OldVal;
751 NamedValues.erase(VarName);
DLangImpl7.rst339 const std::string &VarName) {
343 VarName.c_str());
378 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
795 const std::string &VarName = VarNames[i].first;
818 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName);
823 OldBindings.push_back(NamedValues[VarName]);
826 NamedValues[VarName] = Alloca;
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp6385 StringRef VarName, in Write_protocol_list_initializer() argument
6390 Result += " "; Result += VarName; in Write_protocol_list_initializer()
6409 StringRef VarName, in Write_method_list_t_initializer() argument
6415 Result += " "; Result += VarName; in Write_method_list_t_initializer()
6451 StringRef VarName, in Write_prop_list_t_initializer() argument
6456 Result += " "; Result += VarName; in Write_prop_list_t_initializer()
6503 StringRef VarName, in Write__class_ro_t_initializer() argument
6506 Result += VarName; Result += ClassName; in Write__class_ro_t_initializer()
6563 StringRef VarName, in Write_class_t() argument
6600 Result += VarName; in Write_class_t()
[all …]
/external/llvm/include/llvm/TableGen/
DRecord.h837 Init *VarName; variable
840 : TypedInit(IK_VarInit, T), VarName(VN) {} in VarInit()
853 Init *getNameInit() const { return VarName; } in getNameInit()

12