Home
last modified time | relevance | path

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

12345

/external/tensorflow/tensorflow/core/tpu/
Dtpu_api_dlsym_set_fn.h19 #define TFTPU_SET_FN(Struct, FnName) \ argument
20 Struct->FnName##Fn = \
21 reinterpret_cast<decltype(FnName)*>(dlsym(library_handle, #FnName)); \
22 if (!(Struct->FnName##Fn)) { \
23 LOG(FATAL) << #FnName " not available in this library."; \
24 return errors::Unimplemented(#FnName " not available in this library."); \
Dlibtftpu.h24 #define TFTPU_ADD_FN_IN_STRUCT(FnName) decltype(FnName)* FnName##Fn; argument
/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/rust/crates/libfuzzer-sys/libfuzzer/
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.cpp33 static void CheckFnPtr(void *FnPtr, const char *FnName, bool WarnIfMissing) { in CheckFnPtr() argument
35 Printf("WARNING: Failed to find function \"%s\".\n", FnName); in CheckFnPtr()
DFuzzerExtFunctionsWindows.cpp60 static T *GetFnPtr(T *Fun, T *FunDef, const char *FnName, bool WarnIfMissing) { in GetFnPtr() argument
63 Printf("WARNING: Failed to find function \"%s\".\n", FnName); in GetFnPtr()
/external/llvm-project/compiler-rt/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.cpp33 static void CheckFnPtr(void *FnPtr, const char *FnName, bool WarnIfMissing) { in CheckFnPtr() argument
35 Printf("WARNING: Failed to find function \"%s\".\n", FnName); in CheckFnPtr()
DFuzzerExtFunctionsWindows.cpp60 static T *GetFnPtr(T *Fun, T *FunDef, const char *FnName, bool WarnIfMissing) { in GetFnPtr() argument
63 Printf("WARNING: Failed to find function \"%s\".\n", FnName); in GetFnPtr()
/external/llvm-project/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-project/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/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 …]
/external/llvm-project/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 …]
/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 …]
/external/llvm-project/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-10.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-project/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.cpp465 Function *MCJIT::FindFunctionNamedInModulePtrSet(StringRef FnName, in FindFunctionNamedInModulePtrSet() argument
469 Function *F = (*I)->getFunction(FnName); in FindFunctionNamedInModulePtrSet()
489 Function *MCJIT::FindFunctionNamed(StringRef FnName) { in FindFunctionNamed() argument
491 FnName, OwnedModules.begin_added(), OwnedModules.end_added()); in FindFunctionNamed()
493 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_loaded(), in FindFunctionNamed()
496 F = FindFunctionNamedInModulePtrSet(FnName, OwnedModules.begin_finalized(), in FindFunctionNamed()

12345