Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp545 const IntPtrT FPtr = swap(I->FunctionPointer); in createSymtab() local
546 if (!FPtr) in createSymtab()
548 Symtab.mapAddress(FPtr, swap(I->NameRef)); in createSymtab()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp855 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
900 DAG.getStore(Chain, dl, FPtr, Addr, MachinePointerInfo(TrmpAddr, 16)); in LowerINIT_TRAMPOLINE()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp5647 if (auto *FPtr = dyn_cast<llvm::Function>(CalleePtr)) in EmitCall() local
5648 if (FPtr->hasFnAttribute(llvm::Attribute::NoUnwind)) in EmitCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp3978 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
3997 Entry.Node = FPtr; Args.push_back(Entry); in LowerINIT_TRAMPOLINE()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp6714 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
6730 Entry.Node = FPtr; in LowerINIT_TRAMPOLINE()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp27479 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
27506 OutChains[1] = DAG.getStore(Root, dl, FPtr, Addr, in LowerINIT_TRAMPOLINE()
27590 Disp = DAG.getNode(ISD::SUB, dl, MVT::i32, FPtr, Addr); in LowerINIT_TRAMPOLINE()