/external/llvm/utils/TableGen/ |
D | CodeEmitterGen.cpp | 47 int getVariableBit(const std::string &VarName, BitsInit *BI, int bit); 50 const std::string &VarName, 92 int CodeEmitterGen::getVariableBit(const std::string &VarName, in getVariableBit() argument 96 if (VI->getName() == VarName) in getVariableBit() 99 if (VI->getName() == VarName) in getVariableBit() 107 AddCodeToMergeInOperand(Record *R, BitsInit *BI, const std::string &VarName, in AddCodeToMergeInOperand() argument 117 if (getVariableBit(VarName, BI, bit) != -1) in AddCodeToMergeInOperand() 131 if (CGI.Operands.hasOperandNamed(VarName, OpIdx)) { in AddCodeToMergeInOperand() 157 Case += " // op: " + VarName + "\n" + in AddCodeToMergeInOperand() 164 Case += " // op: " + VarName + "\n" + in AddCodeToMergeInOperand() [all …]
|
D | AsmWriterInst.cpp | 153 std::string VarName(AsmString.begin()+DollarPos+1, in AsmWriterInst() local 190 if (VarName.empty() && Modifier.empty()) in AsmWriterInst() 194 if (VarName.empty()) { in AsmWriterInst() 202 unsigned OpNo = CGI.Operands.getOperandNamed(VarName); in AsmWriterInst()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 173 std::string VarName; member in ForExprAST 178 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST() 616 const std::string &VarName) { in CreateEntryBlockAlloca() argument 620 VarName.c_str()); in CreateEntryBlockAlloca() 785 AllocaInst *Alloca = CreateEntryBlockAlloca(TheFunction, VarName); in Codegen() 806 AllocaInst *OldVal = NamedValues[VarName]; in Codegen() 807 NamedValues[VarName] = Alloca; in Codegen() 831 Value *CurVar = Builder.CreateLoad(Alloca, VarName.c_str()); in Codegen() 851 NamedValues[VarName] = OldVal; in Codegen() 853 NamedValues.erase(VarName); in Codegen() [all …]
|
/external/llvm/examples/Kaleidoscope/Chapter5/ |
D | toy.cpp | 153 std::string VarName; member in ForExprAST 158 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST() 595 PHINode *Variable = Builder.CreatePHI(Type::getDoubleTy(getGlobalContext()), 2, VarName.c_str()); in Codegen() 600 Value *OldVal = NamedValues[VarName]; in Codegen() 601 NamedValues[VarName] = Variable; in Codegen() 645 NamedValues[VarName] = OldVal; in Codegen() 647 NamedValues.erase(VarName); in Codegen()
|
/external/llvm/lib/TableGen/ |
D | TGLexer.h | 57 Id, StrVal, VarName, CodeFragment enumerator 100 CurCode == tgtok::VarName || CurCode == tgtok::CodeFragment) && in getCurStrVal()
|
D | TGLexer.cpp | 246 return tgtok::VarName; in LexVarName()
|
D | TGParser.cpp | 1376 if (Lex.Lex() != tgtok::VarName) { // eat the ':' in ParseSimpleValue() 1561 std::string VarName; in ParseDagArgList() local 1563 if (Lex.Lex() != tgtok::VarName) { // eat the ':' in ParseDagArgList() 1567 VarName = Lex.getCurStrVal(); in ParseDagArgList() 1571 Result.push_back(std::make_pair(Val, VarName)); in ParseDagArgList()
|
D | Record.cpp | 1360 if (const RecordVal *Val = R.getValue(VarName)) { in getFieldInit() 1379 if (RecordVal *Val = R.getValue(VarName)) in resolveReferences()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 168 std::string VarName; member in ForExprAST 173 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} in ForExprAST() 699 PHINode *Variable = Builder.CreatePHI(Type::getDoubleTy(getGlobalContext()), 2, VarName.c_str()); in Codegen() 704 Value *OldVal = NamedValues[VarName]; in Codegen() 705 NamedValues[VarName] = Variable; in Codegen() 749 NamedValues[VarName] = OldVal; in Codegen() 751 NamedValues.erase(VarName); in Codegen()
|
/external/llvm/docs/tutorial/ |
D | LangImpl7.rst | 339 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; 1030 std::string VarName; 1035 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} 1474 const std::string &VarName) { [all …]
|
D | LangImpl5.rst | 466 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); 899 std::string VarName; 904 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} [all …]
|
D | LangImpl6.rst | 914 std::string VarName; 919 : VarName(varname), Start(start), End(end), Step(step), Body(body) {} 1445 … PHINode *Variable = Builder.CreatePHI(Type::getDoubleTy(getGlobalContext()), 2, VarName.c_str()); 1450 Value *OldVal = NamedValues[VarName]; 1451 NamedValues[VarName] = Variable; 1495 NamedValues[VarName] = OldVal; 1497 NamedValues.erase(VarName);
|
D | OCamlLangImpl5.rst | 604 entry for VarName) but we choose to allow shadowing of variables. In
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 6495 StringRef VarName, in Write_protocol_list_initializer() argument 6500 Result += " "; Result += VarName; in Write_protocol_list_initializer() 6519 StringRef VarName, in Write_method_list_t_initializer() argument 6525 Result += " "; Result += VarName; in Write_method_list_t_initializer() 6561 StringRef VarName, in Write_prop_list_t_initializer() argument 6566 Result += " "; Result += VarName; in Write_prop_list_t_initializer() 6613 StringRef VarName, in Write__class_ro_t_initializer() argument 6616 Result += VarName; Result += ClassName; in Write__class_ro_t_initializer() 6673 StringRef VarName, in Write_class_t() argument 6710 Result += VarName; in Write_class_t() [all …]
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 1043 Init *VarName; variable 1046 : TypedInit(IK_VarInit, T), VarName(StringInit::get(VN)) {} in VarInit() 1048 : TypedInit(IK_VarInit, T), VarName(VN) {} in VarInit() 1065 Init *getNameInit() const { return VarName; } in getNameInit()
|