Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp27 bool *HasNonCallUses, Value *FPtr, uint64_t Offset, in findCallsAtConstantOffset() argument
29 for (const Use &U : FPtr->uses()) { in findCallsAtConstantOffset()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfReader.cpp354 const IntPtrT FPtr = swap(I->FunctionPointer); in createSymtab() local
355 if (!FPtr) in createSymtab()
357 Symtab.mapAddress(FPtr, I->NameRef); in createSymtab()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl09.rst116 - void *FPtr = TheExecutionEngine->getPointerToFunction(FnIR);
120 - double (*FP)() = (double (*)())(intptr_t)FPtr;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp863 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
908 DAG.getStore(Chain, dl, FPtr, Addr, MachinePointerInfo(TrmpAddr, 16)); in LowerINIT_TRAMPOLINE()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCall.cpp5207 if (auto *FPtr = dyn_cast<llvm::Function>(CalleePtr)) in EmitCall() local
5208 if (FPtr->hasFnAttribute(llvm::Attribute::NoUnwind)) in EmitCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp3690 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
3709 Entry.Node = FPtr; Args.push_back(Entry); in LowerINIT_TRAMPOLINE()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp26805 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
26832 OutChains[1] = DAG.getStore(Root, dl, FPtr, Addr, in LowerINIT_TRAMPOLINE()
26916 Disp = DAG.getNode(ISD::SUB, dl, MVT::i32, FPtr, Addr); in LowerINIT_TRAMPOLINE()