|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/CallSite.h 877 return V ? dyn_cast<Function>(V->stripPointerCasts()) : nullptr;
include/llvm/IR/IntrinsicInst.h 399 Value *getDest() const { return getRawDest()->stripPointerCasts(); }
447 Value *getSource() const { return getRawSource()->stripPointerCasts(); }
830 const_cast<Value *>(getArgOperand(0))->stripPointerCasts());
870 const_cast<Value *>(getArgOperand(0))->stripPointerCasts());
lib/Analysis/InstructionSimplify.cpp 2305 LHS = LHS->stripPointerCasts();
2306 RHS = RHS->stripPointerCasts();
lib/Analysis/LazyValueInfo.cpp 1687 V = V->stripPointerCasts();
lib/Analysis/Lint.cpp 673 V = OffsetOk ? GetUnderlyingObject(V, *DL) : V->stripPointerCasts();
lib/Analysis/Loads.cpp 292 V = V->stripPointerCasts();
334 if (AreEquivalentAddressValues(AccessedPtr->stripPointerCasts(), V) &&
390 Value *StrippedPtr = Ptr->stripPointerCasts();
415 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) &&
429 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts();
lib/Analysis/MemoryBuiltins.cpp 582 V = V->stripPointerCasts();
872 V = V->stripPointerCasts();
lib/Analysis/MemoryDependenceAnalysis.cpp 364 Value *LoadOperand = LI->getPointerOperand()->stripPointerCasts();
lib/Analysis/TypeMetadataUtils.cpp 94 M, DevirtCalls, CI->getArgOperand(0)->stripPointerCasts(), 0, CI, DT);
lib/Analysis/ValueTracking.cpp 5778 auto Op0 = GEP_T->getOperand(0)->stripPointerCasts();
lib/CodeGen/Analysis.cpp 159 V = V->stripPointerCasts();
lib/CodeGen/CodeGenPrepare.cpp 2018 Value *IncomingVal = PN->getIncomingValue(I)->stripPointerCasts();
lib/CodeGen/GCRootLowering.cpp 154 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts()))
227 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts()));
lib/CodeGen/MachineFunction.cpp 673 dyn_cast<GlobalValue>(Val->stripPointerCasts()));
680 FilterList.push_back(cast<GlobalValue>((*II)->stripPointerCasts()));
688 Value *TypeInfo = CPI->getArgOperand(I - 1)->stripPointerCasts();
lib/CodeGen/SelectionDAG/FastISel.cpp 913 Value *Callee = I->getOperand(PatchPointOpers::TargetPos)->stripPointerCasts();
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 5958 cast<AllocaInst>(I.getArgOperand(0)->stripPointerCasts());
6445 const Function *F = cast<Function>(I.getArgOperand(1)->stripPointerCasts());
6469 const Value *Alloca = I.getArgOperand(0)->stripPointerCasts();
6646 Value *Arg = I.getArgOperand(Idx)->stripPointerCasts();
6671 auto *Fn = cast<Function>(I.getArgOperand(0)->stripPointerCasts());
lib/CodeGen/ShadowStackGCLowering.cpp 243 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts()));
lib/CodeGen/WinEHPrepare.cpp 156 dyn_cast<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts()))
355 cast<Constant>(CatchPad->getArgOperand(0)->stripPointerCasts());
956 dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts());
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp 57 auto CalledValue = Call->getCalledOperand()->stripPointerCasts();
lib/IR/Constants.cpp 1509 NewF = cast<Function>(To->stripPointerCasts());
lib/IR/Module.cpp 607 GlobalValue *G = cast<GlobalValue>(Op->stripPointerCasts());
lib/IR/Verifier.cpp 677 Value *V = Op->stripPointerCasts();
2854 = dyn_cast<Function>(Call.getCalledValue()->stripPointerCasts());
4287 auto *InfoArg = Call.getArgOperand(3)->stripPointerCasts();
4406 dyn_cast<AllocaInst>(Call.getArgOperand(0)->stripPointerCasts());
4422 Assert(isa<Function>(Call.getArgOperand(1)->stripPointerCasts()),
4432 Assert(isa<AllocaInst>(Call.getArgOperand(1)->stripPointerCasts()),
4444 auto *AI = dyn_cast<AllocaInst>(Arg->stripPointerCasts());
4453 Value *FnArg = Call.getArgOperand(0)->stripPointerCasts();
lib/Target/AMDGPU/AMDGPUFixFunctionBitcasts.cpp 37 auto Callee = dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts());
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp 307 cast<Function>(CallMain->getCalledValue()->stripPointerCasts());
lib/Target/X86/X86WinEHState.cpp 304 cast<Function>(CxxLongjmpUnwind.getCallee()->stripPointerCasts())
360 cast<Function>(SehLongjmpUnwind.getCallee()->stripPointerCasts())
769 if (CS.getCalledValue()->stripPointerCasts() !=
770 SetJmp3.getCallee()->stripPointerCasts())
lib/Transforms/Coroutines/CoroInstr.h 121 : cast<AllocaInst>(Arg->stripPointerCasts());
177 return cast<Constant>(getArgOperand(InfoArg)->stripPointerCasts());
183 return cast<Function>(getArgOperand(CoroutineArg)->stripPointerCasts());
226 return cast<Function>(getArgOperand(PrototypeArg)->stripPointerCasts());
231 return cast<Function>(getArgOperand(AllocArg)->stripPointerCasts());
236 return cast<Function>(getArgOperand(DeallocArg)->stripPointerCasts());
lib/Transforms/Coroutines/CoroSplit.cpp 956 if (isa<CoroSubFnInst>(CalledValue->stripPointerCasts()))
1088 auto *Callee = CS.getCalledValue()->stripPointerCasts();
1438 auto Fn = CastFn->stripPointerCasts(); // as its original type
lib/Transforms/Coroutines/Coroutines.cpp 555 auto F = dyn_cast<Function>(V->stripPointerCasts());
591 auto F = dyn_cast<Function>(V->stripPointerCasts());
606 auto F = dyn_cast<Function>(V->stripPointerCasts());
lib/Transforms/IPO/Attributor.cpp 192 NewV = V->stripPointerCasts();
lib/Transforms/IPO/FunctionAttrs.cpp 597 Value *RetVal = Ret->getReturnValue()->stripPointerCasts();
lib/Transforms/IPO/GlobalOpt.cpp 1572 StoredOnceVal = StoredOnceVal->stripPointerCasts();
2895 dyn_cast<Function>(CI->getArgOperand(0)->stripPointerCasts());
lib/Transforms/IPO/WholeProgramDevirt.cpp 1576 Value *Ptr = CI->getArgOperand(0)->stripPointerCasts();
lib/Transforms/InstCombine/InstCombineAddSub.cpp 1605 if (LHSGEP->getOperand(0)->stripPointerCasts() ==
1606 RHSGEP->getOperand(0)->stripPointerCasts()) {
1621 if (RHSGEP->getOperand(0)->stripPointerCasts() ==
1622 LHSGEP->getOperand(0)->stripPointerCasts()) {
lib/Transforms/InstCombine/InstCombineCalls.cpp 1159 auto *StrippedArg = Arg->stripPointerCasts();
4144 Value *Underlying = TrampMem->stripPointerCasts();
4202 Callee = Callee->stripPointerCasts();
4409 auto *Callee = dyn_cast<Function>(Call.getCalledValue()->stripPointerCasts());
4705 Function *NestF = cast<Function>(Tramp.getArgOperand(1)->stripPointerCasts());
lib/Transforms/InstCombine/InstCombineCompares.cpp 858 RHS = RHS->stripPointerCasts();
932 PtrBase->stripPointerCasts() ==
933 GEPRHS->getOperand(0)->stripPointerCasts() &&
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp 764 P = P->stripPointerCasts();
lib/Transforms/InstCombine/InstructionCombining.cpp 1961 Value *StrippedPtr = PtrOp->stripPointerCasts();
2484 m_Specific(Op->stripPointerCasts())),
lib/Transforms/Instrumentation/AddressSanitizer.cpp 2601 AllocaInst *AI = dyn_cast<AllocaInst>(Arg->stripPointerCasts());
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp 786 &i != DFSanUnionFn.getCallee()->stripPointerCasts() &&
787 &i != DFSanCheckedUnionFn.getCallee()->stripPointerCasts() &&
788 &i != DFSanUnionLoadFn.getCallee()->stripPointerCasts() &&
789 &i != DFSanUnimplementedFn.getCallee()->stripPointerCasts() &&
790 &i != DFSanSetLabelFn.getCallee()->stripPointerCasts() &&
791 &i != DFSanNonzeroLabelFn.getCallee()->stripPointerCasts() &&
792 &i != DFSanVarargWrapperFn.getCallee()->stripPointerCasts())
1544 if (F == DFSF.DFS.DFSanVarargWrapperFn.getCallee()->stripPointerCasts())
lib/Transforms/ObjCARC/ObjCARC.h 60 IsNullOrUndef(OldArg->stripPointerCasts()))) &&
78 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts();
94 auto *PNOpnd = PN.getIncomingValue(I)->stripPointerCasts();
95 auto *POpnd = P.getIncomingValueForBlock(BB)->stripPointerCasts();
lib/Transforms/ObjCARC/ObjCARCContract.cpp 276 if (Store->getPointerOperand()->stripPointerCasts() == LocPtr)
lib/Transforms/ObjCARC/ObjCARCOpts.cpp 767 if (auto *GV = dyn_cast<GlobalVariable>(Opnd->stripPointerCasts()))
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 287 AAPtr = AAPtr->stripPointerCasts();
lib/Transforms/Scalar/JumpThreading.cpp 582 return dyn_cast<BlockAddress>(Val->stripPointerCasts());
1072 Condition = IB->getAddress()->stripPointerCasts();
lib/Transforms/Scalar/MemCpyOptimizer.cpp 628 Value *CpyDest = SI->getPointerOperand()->stripPointerCasts();
649 LI, SI->getPointerOperand()->stripPointerCasts(),
650 LI->getPointerOperand()->stripPointerCasts(),
876 if (CS.getArgument(i)->stripPointerCasts() == cpySrc &&
884 if (CS.getArgument(i)->stripPointerCasts() == cpySrc) {
1275 ByValArg->stripPointerCasts() != MDep->getDest())
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp 520 Value *Def = CI->stripPointerCasts();
1065 assert(Base->stripPointerCasts() == OldBase->stripPointerCasts() &&
1065 assert(Base->stripPointerCasts() == OldBase->stripPointerCasts() &&
lib/Transforms/Scalar/SCCP.cpp 1987 if (!isa<BlockAddress>(IBR->getAddress()->stripPointerCasts())) {
lib/Transforms/Utils/BuildLibCalls.cpp 842 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts()))
924 dyn_cast<Function>(MemCpy.getCallee()->stripPointerCasts()))
1059 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts()))
1101 dyn_cast<Function>(Callee.getCallee()->stripPointerCasts()))
1147 dyn_cast<Function>(PutChar.getCallee()->stripPointerCasts()))
1164 dyn_cast<Function>(PutS.getCallee()->stripPointerCasts()))
1185 dyn_cast<Function>(F.getCallee()->stripPointerCasts()))
1205 dyn_cast<Function>(F.getCallee()->stripPointerCasts()))
1224 dyn_cast<Function>(F.getCallee()->stripPointerCasts()))
1243 dyn_cast<Function>(F.getCallee()->stripPointerCasts()))
1267 dyn_cast<Function>(F.getCallee()->stripPointerCasts()))
1286 dyn_cast<Function>(Malloc.getCallee()->stripPointerCasts()))
1307 dyn_cast<Function>(Calloc.getCallee()->stripPointerCasts()))
1331 dyn_cast<Function>(F.getCallee()->stripPointerCasts()))
1350 dyn_cast<Function>(F.getCallee()->stripPointerCasts()))
1370 dyn_cast<Function>(F.getCallee()->stripPointerCasts()))
1393 dyn_cast<Function>(F.getCallee()->stripPointerCasts()))
lib/Transforms/Utils/Evaluator.cpp 528 Value *Ptr = PtrArg->stripPointerCasts();
lib/Transforms/Utils/InlineFunction.cpp 1334 if (U->stripPointerCasts() != AI) continue;
2064 dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts());
lib/Transforms/Utils/Local.cpp 304 dyn_cast<BlockAddress>(IBI->getAddress()->stripPointerCasts())) {
1140 V = V->stripPointerCasts();
lib/Transforms/Utils/SimplifyCFG.cpp 1504 return isa<AllocaInst>(I->getOperand(1)->stripPointerCasts());
1508 return isa<AllocaInst>(I->getOperand(0)->stripPointerCasts());
1512 return isa<AllocaInst>(I->getOperand(1)->stripPointerCasts());
lib/Transforms/Vectorize/LoopVectorize.cpp 2201 if (auto *gep = dyn_cast<GetElementPtrInst>(Ptr->stripPointerCasts()))
2394 getLoadStorePointerOperand(Instr)->stripPointerCasts()))
tools/bugpoint/CrashDebugger.cpp 223 Constant *Op = cast<Constant>(V->stripPointerCasts());
tools/clang/lib/CodeGen/CGCall.cpp 2685 dyn_cast<llvm::CallInst>(result->stripPointerCasts());
2693 dyn_cast<llvm::LoadInst>(retainedValue->stripPointerCasts());
3689 auto *CalleeFn = dyn_cast<llvm::Function>(Callee->stripPointerCasts());
tools/clang/lib/CodeGen/CGException.cpp 275 cast<llvm::GlobalVariable>((*II)->stripPointerCasts()))
1736 cast<llvm::IntrinsicInst>(ParentVar.getPointer()->stripPointerCasts());
tools/clang/lib/CodeGen/CGExpr.cpp 490 Object.getPointer()->stripPointerCasts())) {
680 auto PtrToAlloca = dyn_cast<llvm::AllocaInst>(Ptr->stripPointerCasts());
3155 cast<llvm::GlobalValue>(SlowPathFn.getCallee()->stripPointerCasts()));
tools/clang/lib/CodeGen/CGObjC.cpp 2147 = cast<llvm::CallInst>(result->stripPointerCasts());
3740 cast<llvm::Function>(CFLinkCheckFuncRef.getCallee()->stripPointerCasts());
tools/clang/lib/CodeGen/CGObjCMac.cpp 2181 if (auto LI = dyn_cast<llvm::LoadInst>(Arg0->stripPointerCasts())) {
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp 178 EnqueuedBlockMap[Block].BlockArg->stripPointerCasts());
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 4316 cast<llvm::Function>(fnRef.getCallee()->stripPointerCasts());
tools/lli/lli.cpp 622 dyn_cast<Function>(Exit.getCallee()->stripPointerCasts())) {
unittests/IR/InstructionsTest.cpp 348 Value *S0 = BTC0->stripPointerCasts();
349 Value *S1 = BTC1->stripPointerCasts();
350 Value *S2 = BTC2->stripPointerCasts();
351 Value *S3 = BTC3->stripPointerCasts();