| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/ |
| H A D | MCJIT.cpp | 516 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 D | TypeMetadataUtils.cpp | 27 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 D | InstrProfReader.cpp | 354 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 D | toy-jit.cpp | 1043 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression() local 1046 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
|
| H A D | toy.cpp | 1326 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 D | toy-jit.cpp | 1059 void *FPtr = TheExecutionEngine->getPointerToFunction(LF); in HandleTopLevelExpression() local 1062 double (*FP)() = (double (*)())(intptr_t)FPtr; in HandleTopLevelExpression()
|
| H A D | toy.cpp | 1428 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 D | toy.cpp | 1285 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 D | toy.cpp | 1505 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 D | LangImpl09.rst | 116 - void *FPtr = TheExecutionEngine->getPointerToFunction(FnIR); 120 - double (*FP)() = (double (*)())(intptr_t)FPtr;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/ |
| H A D | XCoreISelLowering.cpp | 863 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 D | CGCall.cpp | 5207 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 D | PPCISelLowering.cpp | 3690 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 D | X86ISelLowering.cpp | 26805 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()
|