Home
last modified time | relevance | path

Searched refs:FnName (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp559 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/
Dtoy.cpp519 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 …]
Dtoy-jit.cpp518 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/
Dtoy.cpp540 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 …]
Dtoy-jit.cpp533 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/
Dtoy.cpp517 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/
Dtoy.cpp555 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/
Dtoy.cpp555 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/
Dtoy.cpp555 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/
DClangAttrEmitter.cpp1905 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/
Dtoy.cpp556 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/
DMCJIT.cpp431 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()
DMCJIT.h199 Function *FindFunctionNamedInModulePtrSet(const char *FnName,
226 Function *FindFunctionNamed(const char *FnName) override;
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp191 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/
Dtoy.cpp510 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/
Dtoy.cpp580 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/
DIntelJITEventListener.cpp78 const char* FnName, in FunctionDescToIntelJITFormat() argument
85 Result.method_name = const_cast<char*>(FnName); in FunctionDescToIntelJITFormat()
/external/llvm/docs/tutorial/
DLangImpl6.rst172 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/
Dtoy.cpp722 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/
Dtoy.cpp329 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/
DCompileOnDemandLayer.h365 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/
DMemoryBuiltins.cpp113 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/
Dtoy.cpp332 std::string FnName = IdentifierStr; in ParsePrototype() local
347 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp338 std::string FnName = IdentifierStr; in ParsePrototype() local
353 return llvm::make_unique<PrototypeAST>(FnName, std::move(ArgNames)); in ParsePrototype()
/external/llvm/include/llvm/CodeGen/
DMachineInstrBuilder.h136 const MachineInstrBuilder &addExternalSymbol(const char *FnName,
138 MI->addOperand(*MF, MachineOperand::CreateES(FnName, TargetFlags));

12