Home
last modified time | relevance | path

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

12

/external/llvm/examples/Kaleidoscope/MCJIT/complete/
Dtoy.cpp564 std::string FnName; in ParsePrototype() local
573 FnName = IdentifierStr; in ParsePrototype()
581 FnName = "unary"; in ParsePrototype()
582 FnName += (char)CurTok; in ParsePrototype()
590 FnName = "binary"; in ParsePrototype()
591 FnName += (char)CurTok; in ParsePrototype()
621 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype()
786 virtual Function *getFunction(const std::string FnName) = 0;
845 virtual Function *getFunction(const std::string FnName) { in getFunction() argument
847 return TheModule->getFunction(FnName); in getFunction()
[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.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()
/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.cpp534 std::string FnName; in ParsePrototype() local
543 FnName = IdentifierStr; in ParsePrototype()
551 FnName = "unary"; in ParsePrototype()
552 FnName += (char)CurTok; in ParsePrototype()
560 FnName = "binary"; in ParsePrototype()
561 FnName += (char)CurTok; in ParsePrototype()
591 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/Chapter6/
Dtoy.cpp452 std::string FnName; in ParsePrototype() local
461 FnName = IdentifierStr; in ParsePrototype()
469 FnName = "unary"; in ParsePrototype()
470 FnName += (char)CurTok; in ParsePrototype()
478 FnName = "binary"; in ParsePrototype()
479 FnName += (char)CurTok; in ParsePrototype()
509 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence); in ParsePrototype()
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp410 Function *MCJIT::FindFunctionNamedInModulePtrSet(const char *FnName, in FindFunctionNamedInModulePtrSet() argument
414 if (Function *F = (*I)->getFunction(FnName)) in FindFunctionNamedInModulePtrSet()
420 Function *MCJIT::FindFunctionNamed(const char *FnName) { in FindFunctionNamed() argument
422 FnName, OwnedModules.begin_added(), OwnedModules.end_added()); in FindFunctionNamed()
424 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_loaded(), in FindFunctionNamed()
427 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_finalized(), in FindFunctionNamed()
DMCJIT.h228 Function *FindFunctionNamedInModulePtrSet(const char *FnName,
249 Function *FindFunctionNamed(const char *FnName) override;
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp171 SmallString<256> FnName; in createAtExitStub() local
173 llvm::raw_svector_ostream Out(FnName); in createAtExitStub()
177 CreateGlobalInitOrDestructFunction(CGM, ty, FnName.str()); in createAtExitStub()
265 SmallString<256> FnName; in EmitCXXGlobalVarDeclInitFunc() local
267 llvm::raw_svector_ostream Out(FnName); in EmitCXXGlobalVarDeclInitFunc()
273 CreateGlobalInitOrDestructFunction(*this, FTy, FnName.str()); in EmitCXXGlobalVarDeclInitFunc()
DCGExpr.cpp2033 StringRef FnName = CurFn->getName(); in EmitPredefinedLValue() local
2034 if (FnName.startswith("\01")) in EmitPredefinedLValue()
2035 FnName = FnName.substr(1); in EmitPredefinedLValue()
2036 GVName += FnName; in EmitPredefinedLValue()
2048 FunctionName = FnName.str(); in EmitPredefinedLValue()
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp2174 std::string FnName = "is" + Subject.getName(); in GenerateCustomAppertainsTo() local
2179 std::set<std::string>::iterator I = CustomSubjectSet.find(FnName); in GenerateCustomAppertainsTo()
2192 OS << "static bool " << FnName << "(const Decl *D) {\n"; in GenerateCustomAppertainsTo()
2200 CustomSubjectSet.insert(FnName); in GenerateCustomAppertainsTo()
2201 return FnName; in GenerateCustomAppertainsTo()
2223 std::string FnName = "check" + Attr.getName() + "AppertainsTo"; in GenerateAppertainsTo() local
2225 SS << "static bool " << FnName << "(Sema &S, const AttributeList &Attr, "; in GenerateAppertainsTo()
2256 return FnName; in GenerateAppertainsTo()
2278 std::string FnName = "check", Test; in GenerateLangOptRequirements() local
2284 FnName += Part; in GenerateLangOptRequirements()
[all …]
/external/llvm/examples/Kaleidoscope/Chapter7/
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()
/external/llvm/examples/Kaleidoscope/Chapter2/
Dtoy.cpp280 std::string FnName = IdentifierStr; in ParsePrototype() local
295 return new PrototypeAST(FnName, ArgNames); in ParsePrototype()
/external/llvm/docs/tutorial/
DLangImpl6.rst165 std::string FnName;
174 FnName = IdentifierStr;
182 FnName = "binary";
183 FnName += (char)CurTok;
213 return new PrototypeAST(FnName, ArgNames, Kind != 0, BinaryPrecedence);
218 code above is the couple lines that set up ``FnName`` for binary
382 std::string FnName;
391 FnName = IdentifierStr;
399 FnName = "unary";
400 FnName += (char)CurTok;
DLangImpl2.rst548 std::string FnName = IdentifierStr;
564 return new PrototypeAST(FnName, ArgNames);
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp96 const char* FnName, in FunctionDescToIntelJITFormat() argument
103 Result.method_name = const_cast<char*>(FnName); in FunctionDescToIntelJITFormat()
/external/llvm/examples/Kaleidoscope/Chapter3/
Dtoy.cpp301 std::string FnName = IdentifierStr; in ParsePrototype() local
316 return new PrototypeAST(FnName, ArgNames); in ParsePrototype()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp105 StringRef FnName = Callee->getName(); in getAllocationData() local
107 if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn)) in getAllocationData()
325 StringRef FnName = Callee->getName(); in isFreeCall() local
327 if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn)) in isFreeCall()
/external/llvm/examples/Kaleidoscope/Chapter4/
Dtoy.cpp308 std::string FnName = IdentifierStr; in ParsePrototype() local
323 return new PrototypeAST(FnName, ArgNames); in ParsePrototype()
/external/llvm/include/llvm/CodeGen/
DMachineInstrBuilder.h136 const MachineInstrBuilder &addExternalSymbol(const char *FnName,
138 MI->addOperand(*MF, MachineOperand::CreateES(FnName, TargetFlags));
/external/llvm/examples/Kaleidoscope/Chapter5/
Dtoy.cpp409 std::string FnName = IdentifierStr; in ParsePrototype() local
424 return new PrototypeAST(FnName, ArgNames); in ParsePrototype()
/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h250 virtual Function *FindFunctionNamed(const char *FnName);
/external/clang/lib/Sema/
DSemaChecking.cpp3971 IdentifierInfo *FnName, in CheckMemorySizeofForComparison() argument
3984 << SizeRange << FnName; in CheckMemorySizeofForComparison()
3986 << FnName << FixItHint::CreateInsertion( in CheckMemorySizeofForComparison()
4058 IdentifierInfo *FnName) { in CheckMemaccessArguments() argument
4072 if (CheckMemorySizeofForComparison(*this, LenExpr, FnName, in CheckMemaccessArguments()
4111 StringRef ReadableName = FnName->getName(); in CheckMemaccessArguments()
4161 << FnName << SizeOfArgTy << ArgIdx in CheckMemaccessArguments()
4189 << FnName << IsContained << ContainedRD << OperationType in CheckMemaccessArguments()
4196 << ArgIdx << FnName << PointeeTy in CheckMemaccessArguments()
4251 IdentifierInfo *FnName) { in CheckStrlcpycatArguments() argument
[all …]
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp142 Function *ExecutionEngine::FindFunctionNamed(const char *FnName) { in FindFunctionNamed() argument
144 if (Function *F = Modules[i]->getFunction(FnName)) in FindFunctionNamed()

12