Home
last modified time | relevance | path

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

123

/external/llvm/lib/Fuzzer/
DFuzzerExtFunctionsDlsym.cpp23 static T GetFnPtr(const char *FnName, bool WarnIfMissing) { in GetFnPtr() argument
25 void *Fn = dlsym(RTLD_DEFAULT, FnName); in GetFnPtr()
29 Printf("WARNING: Failed to find function \"%s\".", FnName); in GetFnPtr()
DFuzzerExtFunctionsWeak.cpp32 static void CheckFnPtr(void *FnPtr, const char *FnName, bool WarnIfMissing) { in CheckFnPtr() argument
34 Printf("WARNING: Failed to find function \"%s\".\n", FnName); in CheckFnPtr()
/external/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/llvm-7.0/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/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/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp738 const auto FnName = Ctx->getGlobalString("llvm.cttz.i32"); in Unop() local
740 const auto *Info = Ctx->getIntrinsicsInfo().find(FnName, BadInstrinsic); in Unop()
745 Func, 1, Dest, Ctx->getConstantExternSym(FnName), Info->Info); in Unop()
764 const auto FnName = Ctx->getGlobalString("llvm.fabs.f32"); in Unop() local
766 const auto *Info = Ctx->getIntrinsicsInfo().find(FnName, BadInstrinsic); in Unop()
771 Func, 1, Dest, Ctx->getConstantExternSym(FnName), Info->Info); in Unop()
778 const auto FnName = Ctx->getGlobalString("llvm.fabs.f64"); in Unop() local
780 const auto *Info = Ctx->getIntrinsicsInfo().find(FnName, BadInstrinsic); in Unop()
785 Func, 1, Dest, Ctx->getConstantExternSym(FnName), Info->Info); in Unop()
792 const auto FnName = Ctx->getGlobalString("env$$floor_f"); in Unop() local
[all …]
/external/clang/utils/TableGen/
DClangAttrEmitter.cpp2190 std::string *FnName) { in GenerateTargetSpecificAttrChecks() argument
2202 if (FnName) in GenerateTargetSpecificAttrChecks()
2203 *FnName += Part; in GenerateTargetSpecificAttrChecks()
2219 if (FnName) in GenerateTargetSpecificAttrChecks()
2220 *FnName += Part; in GenerateTargetSpecificAttrChecks()
2234 if (FnName) in GenerateTargetSpecificAttrChecks()
2235 *FnName += Part; in GenerateTargetSpecificAttrChecks()
2677 std::string FnName = "is" + Subject.getName(); in GenerateCustomAppertainsTo() local
2682 auto I = CustomSubjectSet.find(FnName); in GenerateCustomAppertainsTo()
2695 OS << "static bool " << FnName << "(const Decl *D) {\n"; in GenerateCustomAppertainsTo()
[all …]
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp445 Function *MCJIT::FindFunctionNamedInModulePtrSet(const char *FnName, in FindFunctionNamedInModulePtrSet() argument
449 Function *F = (*I)->getFunction(FnName); in FindFunctionNamedInModulePtrSet()
469 Function *MCJIT::FindFunctionNamed(const char *FnName) { in FindFunctionNamed() argument
471 FnName, OwnedModules.begin_added(), OwnedModules.end_added()); in FindFunctionNamed()
473 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_loaded(), in FindFunctionNamed()
476 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_finalized(), in FindFunctionNamed()
/external/clang/lib/CodeGen/
DCGDeclCXX.cpp199 SmallString<256> FnName; in createAtExitStub() local
201 llvm::raw_svector_ostream Out(FnName); in createAtExitStub()
206 llvm::Function *fn = CGM.CreateGlobalInitOrDestructFunction(ty, FnName.str(), in createAtExitStub()
332 SmallString<256> FnName; in EmitCXXGlobalVarDeclInitFunc() local
334 llvm::raw_svector_ostream Out(FnName); in EmitCXXGlobalVarDeclInitFunc()
340 CreateGlobalInitOrDestructFunction(FTy, FnName.str(), in EmitCXXGlobalVarDeclInitFunc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp459 Function *MCJIT::FindFunctionNamedInModulePtrSet(StringRef FnName, in FindFunctionNamedInModulePtrSet() argument
463 Function *F = (*I)->getFunction(FnName); in FindFunctionNamedInModulePtrSet()
483 Function *MCJIT::FindFunctionNamed(StringRef FnName) { in FindFunctionNamed() argument
485 FnName, OwnedModules.begin_added(), OwnedModules.end_added()); in FindFunctionNamed()
487 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_loaded(), in FindFunctionNamed()
490 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_finalized(), in FindFunctionNamed()
/external/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp522 std::string FnName; in ParsePrototype() local
531 FnName = IdentifierStr; in ParsePrototype()
539 FnName = "unary"; in ParsePrototype()
540 FnName += (char)CurTok; in ParsePrototype()
548 FnName = "binary"; in ParsePrototype()
549 FnName += (char)CurTok; in ParsePrototype()
579 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter6/
Dtoy.cpp537 std::string FnName; in ParsePrototype() local
546 FnName = IdentifierStr; in ParsePrototype()
554 FnName = "unary"; in ParsePrototype()
555 FnName += (char)CurTok; in ParsePrototype()
563 FnName = "binary"; in ParsePrototype()
564 FnName += (char)CurTok; in ParsePrototype()
594 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp593 std::string FnName; in ParsePrototype() local
602 FnName = IdentifierStr; in ParsePrototype()
610 FnName = "unary"; in ParsePrototype()
611 FnName += (char)CurTok; in ParsePrototype()
619 FnName = "binary"; in ParsePrototype()
620 FnName += (char)CurTok; in ParsePrototype()
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/
Dtoy.cpp581 std::string FnName; in ParsePrototype() local
590 FnName = IdentifierStr; in ParsePrototype()
598 FnName = "unary"; in ParsePrototype()
599 FnName += (char)CurTok; in ParsePrototype()
607 FnName = "binary"; in ParsePrototype()
608 FnName += (char)CurTok; in ParsePrototype()
638 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/external/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
Dtoy.cpp605 std::string FnName; in ParsePrototype() local
614 FnName = IdentifierStr; in ParsePrototype()
622 FnName = "unary"; in ParsePrototype()
623 FnName += (char)CurTok; in ParsePrototype()
631 FnName = "binary"; in ParsePrototype()
632 FnName += (char)CurTok; in ParsePrototype()
662 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
Dtoy.cpp593 std::string FnName; in ParsePrototype() local
602 FnName = IdentifierStr; in ParsePrototype()
610 FnName = "unary"; in ParsePrototype()
611 FnName += (char)CurTok; in ParsePrototype()
619 FnName = "binary"; in ParsePrototype()
620 FnName += (char)CurTok; in ParsePrototype()
650 return llvm::make_unique<PrototypeAST>(FnName, ArgNames, Kind != 0, in ParsePrototype()

123