Searched refs:FuncPtr (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | KCFI.cpp | 95 Value *FuncPtr = Call->getCalledOperand(); in run() local 101 FuncPtr = Builder.CreateIntToPtr( in run() 102 Builder.CreateAnd(Builder.CreatePtrToInt(FuncPtr, Int32Ty), in run() 104 FuncPtr->getType()); in run() 106 Value *HashPtr = Builder.CreateConstInBoundsGEP1_32(Int32Ty, FuncPtr, -1); in run()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IndirectCallVisitor.h | 45 Value *FuncPtr = LI->getPointerOperand(); // GEP (or bitcast) in tryGetVTableInstruction() local 46 Value *VTablePtr = FuncPtr->stripInBoundsConstantOffsets(); in tryGetVTableInstruction()
|
| /freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | Miscompilation.cpp | 901 PHINode *FuncPtr = in CleanupAndPrepareModules() local 903 FuncPtr->addIncoming(Resolver, LookupBB); in CleanupAndPrepareModules() 904 FuncPtr->addIncoming(CachedVal, EntryBB); in CleanupAndPrepareModules() 913 CallInst::Create(FuncTy, FuncPtr, Args, "", DoCallBB); in CleanupAndPrepareModules() 917 CallInst::Create(FuncTy, FuncPtr, Args, "retval", DoCallBB); in CleanupAndPrepareModules()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | MergeFunctions.cpp | 444 Function *FuncPtr = asPtr(Func); in run() local 445 if (isEligibleForMerging(*FuncPtr)) { in run() 446 HashedFuncs.push_back({StructuralHash(*FuncPtr), FuncPtr}); in run()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBlocks.cpp | 1184 llvm::Value *FuncPtr = nullptr; in EmitBlockCallExpr() local 1205 FuncPtr = Builder.CreateStructGEP(GenBlockTy, BlockPtr, 2); in EmitBlockCallExpr() 1206 Func = Builder.CreateAlignedLoad(GenericVoidPtrTy, FuncPtr, in EmitBlockCallExpr() 1214 FuncPtr = Builder.CreateStructGEP(GenBlockTy, BlockPtr, 3); in EmitBlockCallExpr() 1223 Func = Builder.CreateAlignedLoad(VoidPtrTy, FuncPtr, getPointerAlign()); in EmitBlockCallExpr() 1234 assert(FuncPtr != nullptr && "Missing function pointer for AuthInfo"); in EmitBlockCallExpr() 1236 EmitPointerAuthInfo(AuthSchema, FuncPtr, GlobalDecl(), FnType); in EmitBlockCallExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Interp.cpp | 1672 const FunctionPointer &FuncPtr = Ptr.asFunctionPointer(); in CallPtr() local 1673 const Function *F = FuncPtr.getFunction(); in CallPtr()
|