Home
last modified time | relevance | path

Searched refs:FPtr (Results 1 – 16 of 16) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp516 void *FPtr = getPointerToFunction(F); in runFunction() local
518 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction"); in runFunction()
537 (int(*)(int, char **, const char **))(intptr_t)FPtr; in runFunction()
550 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr; in runFunction()
563 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr; in runFunction()
579 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); in runFunction()
581 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); in runFunction()
583 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); in runFunction()
585 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); in runFunction()
587 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); in runFunction()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/orc/tests/unit/
H A Dexecutor_address_test.cpp61 void (*FPtr)() = FAddr.toPtr<void()>(); in TEST() local
63 EXPECT_EQ(FPtr, &F); in TEST()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp26 bool *HasNonCallUses, Value *FPtr, uint64_t Offset, in findCallsAtConstantOffset() argument
28 for (const Use &U : FPtr->uses()) { in findCallsAtConstantOffset()
/openbsd-src/gnu/llvm/llvm/lib/Passes/
H A DStandardInstrumentations.cpp637 const Function **FPtr = any_cast<const Function *>(&IR); in analyzeIR() local
638 const Function *F = FPtr ? *FPtr : nullptr; in analyzeIR()
797 const Function **FPtr = any_cast<const Function *>(&IR); in shouldRun() local
798 const Function *F = FPtr ? *FPtr : nullptr; in shouldRun()
1134 const Function **FPtr = any_cast<const Function *>(&IR); in registerCallbacks() local
1135 const Function *F = FPtr ? *FPtr : nullptr; in registerCallbacks()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp1043 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression() local
1046 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
H A Dtoy.cpp1326 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression() local
1330 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp1059 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression() local
1062 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
H A Dtoy.cpp1428 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression() local
1432 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfReader.cpp461 const IntPtrT FPtr = swap(I->FunctionPointer); in createSymtab() local
462 if (!FPtr) in createSymtab()
464 Symtab.mapAddress(FPtr, I->NameRef); in createSymtab()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp1285 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression() local
1289 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/openbsd-src/gnu/llvm/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dtoy.cpp1505 void *FPtr = TheHelper->getPointerToFunction(LF); in HandleTopLevelExpression() local
1508 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
/openbsd-src/gnu/llvm/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl09.rst116 - void *FPtr = TheExecutionEngine->getPointerToFunction(FnIR);
120 - double (*FP)() = (double (*)())(intptr_t)FPtr;
/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp860 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
905 DAG.getStore(Chain, dl, FPtr, Addr, MachinePointerInfo(TrmpAddr, 16)); in LowerINIT_TRAMPOLINE()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCall.cpp5381 if (auto *FPtr = dyn_cast<llvm::Function>(CalleePtr)) in EmitCall() local
5382 if (FPtr->hasFnAttribute(llvm::Attribute::NoUnwind)) in EmitCall()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp3766 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
3785 Entry.Node = FPtr; Args.push_back(Entry); in LowerINIT_TRAMPOLINE()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp28913 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
28940 OutChains[1] = DAG.getStore(Root, dl, FPtr, Addr, in LowerINIT_TRAMPOLINE()
29024 Disp = DAG.getNode(ISD::SUB, dl, MVT::i32, FPtr, Addr); in LowerINIT_TRAMPOLINE()