/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
D | toy.cpp | 559 std::string FnName; in ParsePrototype() local 568 FnName = IdentifierStr; in ParsePrototype() 576 FnName = "unary"; in ParsePrototype() 577 FnName += (char)CurTok; in ParsePrototype() 585 FnName = "binary"; in ParsePrototype() 586 FnName += (char)CurTok; in ParsePrototype() 616 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype() 781 virtual Function *getFunction(const std::string FnName) = 0; 807 Function *getFunction(const std::string FnName); 887 Function *MCJITHelper::getFunction(const std::string FnName) { in getFunction() argument [all …]
|
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
D | toy.cpp | 519 std::string FnName; in ParsePrototype() local 528 FnName = IdentifierStr; in ParsePrototype() 536 FnName = "unary"; in ParsePrototype() 537 FnName += (char)CurTok; in ParsePrototype() 545 FnName = "binary"; in ParsePrototype() 546 FnName += (char)CurTok; in ParsePrototype() 576 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype() 657 Function *getFunction(const std::string FnName); 730 Function *MCJITHelper::getFunction(const std::string FnName) { in getFunction() argument 735 Function *F = (*it)->getFunction(FnName); in getFunction() [all …]
|
D | toy-jit.cpp | 518 std::string FnName; in ParsePrototype() local 527 FnName = IdentifierStr; in ParsePrototype() 535 FnName = "unary"; in ParsePrototype() 536 FnName += (char)CurTok; in ParsePrototype() 544 FnName = "binary"; in ParsePrototype() 545 FnName += (char)CurTok; in ParsePrototype() 575 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype()
|
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
D | toy.cpp | 540 std::string FnName; in ParsePrototype() local 549 FnName = IdentifierStr; in ParsePrototype() 557 FnName = "unary"; in ParsePrototype() 558 FnName += (char)CurTok; in ParsePrototype() 566 FnName = "binary"; in ParsePrototype() 567 FnName += (char)CurTok; in ParsePrototype() 597 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype() 744 Function *getFunction(const std::string FnName); 819 Function *MCJITHelper::getFunction(const std::string FnName) { in getFunction() argument 824 Function *F = (*it)->getFunction(FnName); in getFunction() [all …]
|
D | toy-jit.cpp | 533 std::string FnName; in ParsePrototype() local 542 FnName = IdentifierStr; in ParsePrototype() 550 FnName = "unary"; in ParsePrototype() 551 FnName += (char)CurTok; in ParsePrototype() 559 FnName = "binary"; in ParsePrototype() 560 FnName += (char)CurTok; in ParsePrototype() 590 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype()
|
/external/llvm/examples/Kaleidoscope/MCJIT/initial/ |
D | toy.cpp | 517 std::string FnName; in ParsePrototype() local 526 FnName = IdentifierStr; in ParsePrototype() 534 FnName = "unary"; in ParsePrototype() 535 FnName += (char)CurTok; in ParsePrototype() 543 FnName = "binary"; in ParsePrototype() 544 FnName += (char)CurTok; in ParsePrototype() 574 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype() 655 Function *getFunction(const std::string FnName); 720 Function *MCJITHelper::getFunction(const std::string FnName) { in getFunction() argument 725 Function *F = (*it)->getFunction(FnName); in getFunction() [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/initial/ |
D | toy.cpp | 555 std::string FnName; in ParsePrototype() local 564 FnName = IdentifierStr; in ParsePrototype() 572 FnName = "unary"; in ParsePrototype() 573 FnName += (char)CurTok; in ParsePrototype() 581 FnName = "binary"; in ParsePrototype() 582 FnName += (char)CurTok; in ParsePrototype() 612 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames), Kind != 0, in ParsePrototype() 770 std::string FnName = MakeLegalFunctionName(std::string("unary")+Opcode); in IRGen() local 771 if (Function *F = C.getPrototype(FnName)) in IRGen() 816 std::string FnName = MakeLegalFunctionName(std::string("binary")+Op); in IRGen() local [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_irgen/ |
D | toy.cpp | 555 std::string FnName; in ParsePrototype() local 564 FnName = IdentifierStr; in ParsePrototype() 572 FnName = "unary"; in ParsePrototype() 573 FnName += (char)CurTok; in ParsePrototype() 581 FnName = "binary"; in ParsePrototype() 582 FnName += (char)CurTok; in ParsePrototype() 612 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames), Kind != 0, in ParsePrototype() 770 std::string FnName = MakeLegalFunctionName(std::string("unary")+Opcode); in IRGen() local 771 if (Function *F = C.getPrototype(FnName)) in IRGen() 816 std::string FnName = MakeLegalFunctionName(std::string("binary")+Op); in IRGen() local [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/lazy_codegen/ |
D | toy.cpp | 555 std::string FnName; in ParsePrototype() local 564 FnName = IdentifierStr; in ParsePrototype() 572 FnName = "unary"; in ParsePrototype() 573 FnName += (char)CurTok; in ParsePrototype() 581 FnName = "binary"; in ParsePrototype() 582 FnName += (char)CurTok; in ParsePrototype() 612 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames), Kind != 0, in ParsePrototype() 770 std::string FnName = MakeLegalFunctionName(std::string("unary")+Opcode); in IRGen() local 771 if (Function *F = C.getPrototype(FnName)) in IRGen() 816 std::string FnName = MakeLegalFunctionName(std::string("binary")+Op); in IRGen() local [all …]
|
/external/clang/utils/TableGen/ |
D | ClangAttrEmitter.cpp | 1905 std::string *FnName) { in GenerateTargetSpecificAttrChecks() argument 1917 if (FnName) in GenerateTargetSpecificAttrChecks() 1918 *FnName += Part; in GenerateTargetSpecificAttrChecks() 1934 if (FnName) in GenerateTargetSpecificAttrChecks() 1935 *FnName += Part; in GenerateTargetSpecificAttrChecks() 1949 if (FnName) in GenerateTargetSpecificAttrChecks() 1950 *FnName += Part; in GenerateTargetSpecificAttrChecks() 2399 std::string FnName = "is" + Subject.getName(); in GenerateCustomAppertainsTo() local 2404 auto I = CustomSubjectSet.find(FnName); in GenerateCustomAppertainsTo() 2417 OS << "static bool " << FnName << "(const Decl *D) {\n"; in GenerateCustomAppertainsTo() [all …]
|
/external/llvm/examples/Kaleidoscope/Orc/fully_lazy/ |
D | toy.cpp | 556 std::string FnName; in ParsePrototype() local 565 FnName = IdentifierStr; in ParsePrototype() 573 FnName = "unary"; in ParsePrototype() 574 FnName += (char)CurTok; in ParsePrototype() 582 FnName = "binary"; in ParsePrototype() 583 FnName += (char)CurTok; in ParsePrototype() 613 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames), Kind != 0, in ParsePrototype() 771 std::string FnName = MakeLegalFunctionName(std::string("unary")+Opcode); in IRGen() local 772 if (Function *F = C.getPrototype(FnName)) in IRGen() 817 std::string FnName = MakeLegalFunctionName(std::string("binary")+Op); in IRGen() local [all …]
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 431 Function *MCJIT::FindFunctionNamedInModulePtrSet(const char *FnName, in FindFunctionNamedInModulePtrSet() argument 435 Function *F = (*I)->getFunction(FnName); in FindFunctionNamedInModulePtrSet() 455 Function *MCJIT::FindFunctionNamed(const char *FnName) { in FindFunctionNamed() argument 457 FnName, OwnedModules.begin_added(), OwnedModules.end_added()); in FindFunctionNamed() 459 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_loaded(), in FindFunctionNamed() 462 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_finalized(), in FindFunctionNamed()
|
D | MCJIT.h | 199 Function *FindFunctionNamedInModulePtrSet(const char *FnName, 226 Function *FindFunctionNamed(const char *FnName) override;
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 191 SmallString<256> FnName; in createAtExitStub() local 193 llvm::raw_svector_ostream Out(FnName); in createAtExitStub() 198 llvm::Function *fn = CGM.CreateGlobalInitOrDestructFunction(ty, FnName.str(), in createAtExitStub() 313 SmallString<256> FnName; in EmitCXXGlobalVarDeclInitFunc() local 315 llvm::raw_svector_ostream Out(FnName); in EmitCXXGlobalVarDeclInitFunc() 321 CreateGlobalInitOrDestructFunction(FTy, FnName.str(), in EmitCXXGlobalVarDeclInitFunc()
|
/external/llvm/examples/Kaleidoscope/Chapter6/ |
D | toy.cpp | 510 std::string FnName; in ParsePrototype() local 519 FnName = IdentifierStr; in ParsePrototype() 527 FnName = "unary"; in ParsePrototype() 528 FnName += (char)CurTok; in ParsePrototype() 536 FnName = "binary"; in ParsePrototype() 537 FnName += (char)CurTok; in ParsePrototype() 567 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
|
/external/llvm/examples/Kaleidoscope/Chapter7/ |
D | toy.cpp | 580 std::string FnName; in ParsePrototype() local 589 FnName = IdentifierStr; in ParsePrototype() 597 FnName = "unary"; in ParsePrototype() 598 FnName += (char)CurTok; in ParsePrototype() 606 FnName = "binary"; in ParsePrototype() 607 FnName += (char)CurTok; in ParsePrototype() 637 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
|
/external/llvm/lib/ExecutionEngine/IntelJITEvents/ |
D | IntelJITEventListener.cpp | 78 const char* FnName, in FunctionDescToIntelJITFormat() argument 85 Result.method_name = const_cast<char*>(FnName); in FunctionDescToIntelJITFormat()
|
/external/llvm/docs/tutorial/ |
D | LangImpl6.rst | 172 std::string FnName; 181 FnName = IdentifierStr; 189 FnName = "binary"; 190 FnName += (char)CurTok; 220 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames), Kind != 0, 226 code above is the couple lines that set up ``FnName`` for binary 399 std::string FnName; 408 FnName = IdentifierStr; 416 FnName = "unary"; 417 FnName += (char)CurTok;
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
D | toy.cpp | 722 std::string FnName; in ParsePrototype() local 733 FnName = IdentifierStr; in ParsePrototype() 741 FnName = "unary"; in ParsePrototype() 742 FnName += (char)CurTok; in ParsePrototype() 750 FnName = "binary"; in ParsePrototype() 751 FnName += (char)CurTok; in ParsePrototype() 781 return llvm::make_unique<PrototypeAST>(FnLoc, FnName, ArgNames, Kind != 0, in ParsePrototype()
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
D | toy.cpp | 329 std::string FnName = IdentifierStr; in ParsePrototype() local 344 return helper::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.h | 365 std::string FnName = mangle(SubF->getName(), SrcM.getDataLayout()); in extractAndCompile() local 366 auto FnBodySym = BaseLayer.findSymbolIn(PartH, FnName, false); in extractAndCompile() 377 if (auto EC = LMResources.StubsMgr->updatePointer(FnName, FnBodyAddr)) in extractAndCompile()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 113 StringRef FnName = Callee->getName(); in getAllocationData() local 115 if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn)) in getAllocationData() 311 StringRef FnName = Callee->getName(); in isFreeCall() local 313 if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn)) in isFreeCall()
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
D | toy.cpp | 332 std::string FnName = IdentifierStr; in ParsePrototype() local 347 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
|
/external/llvm/examples/Kaleidoscope/Chapter4/ |
D | toy.cpp | 338 std::string FnName = IdentifierStr; in ParsePrototype() local 353 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineInstrBuilder.h | 136 const MachineInstrBuilder &addExternalSymbol(const char *FnName, 138 MI->addOperand(*MF, MachineOperand::CreateES(FnName, TargetFlags));
|