| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Constant.h | 174 const Constant *stripPointerCasts() const { in stripPointerCasts() function 175 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts() 178 Constant *stripPointerCasts() { in stripPointerCasts() function 180 static_cast<const Constant *>(this)->stripPointerCasts()); in stripPointerCasts()
|
| H A D | IntrinsicInst.h | 293 Value *getDest() const { return getRawDest()->stripPointerCasts(); } in getDest() 341 Value *getSource() const { return getRawSource()->stripPointerCasts(); } in getSource() 723 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName() 763 const_cast<Value *>(getArgOperand(0))->stripPointerCasts()); in getName()
|
| H A D | Value.h | 501 const Value *stripPointerCasts() const; 502 Value *stripPointerCasts() { in stripPointerCasts() function 504 static_cast<const Value *>(this)->stripPointerCasts()); in stripPointerCasts()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.h | 61 IsNullOrUndef(OldArg->stripPointerCasts()))) && in EraseInstruction() 79 const auto *Opnd = Inst.getOperand(0)->stripPointerCasts(); in getreturnRVOperand() 95 auto *PNOpnd = PN.getIncomingValue(I)->stripPointerCasts(); in getEquivalentPHIs() 96 auto *POpnd = P.getIncomingValueForBlock(BB)->stripPointerCasts(); in getEquivalentPHIs()
|
| H A D | ObjCARCContract.cpp | 212 auto *LocPtr = Loc.Ptr->stripPointerCasts(); in findSafeStoreForStoreStrongContraction() 273 if (Store->getPointerOperand()->stripPointerCasts() == LocPtr) in findSafeStoreForStoreStrongContraction()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 1054 if (const Function *F = dyn_cast<Function>(PutS->stripPointerCasts())) in emitPutS() 1074 if (const Function *Fn = dyn_cast<Function>(F->stripPointerCasts())) in emitFPutC() 1093 if (const Function *Fn = dyn_cast<Function>(F->stripPointerCasts())) in emitFPutCUnlocked() 1111 if (const Function *Fn = dyn_cast<Function>(F->stripPointerCasts())) in emitFPutS() 1129 if (const Function *Fn = dyn_cast<Function>(F->stripPointerCasts())) in emitFPutSUnlocked() 1152 if (const Function *Fn = dyn_cast<Function>(F->stripPointerCasts())) in emitFWrite() 1190 if (const auto *F = dyn_cast<Function>(Calloc->stripPointerCasts())) in emitCalloc() 1213 if (const Function *Fn = dyn_cast<Function>(F->stripPointerCasts())) in emitFWriteUnlocked() 1231 if (const Function *Fn = dyn_cast<Function>(F->stripPointerCasts())) in emitFGetCUnlocked() 1250 if (const Function *Fn = dyn_cast<Function>(F->stripPointerCasts())) in emitFGetSUnlocked() [all …]
|
| H A D | Evaluator.cpp | 502 Value *Ptr = PtrArg->stripPointerCasts(); in EvaluateBlock() 599 Value *Val = getVal(IBI->getAddress())->stripPointerCasts(); in EvaluateBlock()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | Loads.cpp | 270 V = V->stripPointerCasts(); in isSafeToLoadUnconditionally() 302 if (AreEquivalentAddressValues(AccessedPtr->stripPointerCasts(), V) && in isSafeToLoadUnconditionally() 350 Value *StrippedPtr = Ptr->stripPointerCasts(); in FindAvailablePtrLoadStore() 375 LI->getPointerOperand()->stripPointerCasts(), StrippedPtr) && in FindAvailablePtrLoadStore() 389 Value *StorePtr = SI->getPointerOperand()->stripPointerCasts(); in FindAvailablePtrLoadStore()
|
| H A D | MemoryBuiltins.cpp | 119 V = V->stripPointerCasts(); in getCalledFunction() 216 ImmutableCallSite CS(LookThroughBitCast ? V->stripPointerCasts() : V); in hasNoAliasAttr() 503 V = V->stripPointerCasts(); in compute() 786 V = V->stripPointerCasts(); in compute_()
|
| H A D | EHPersonalities.cpp | 24 Pers ? dyn_cast<Function>(Pers->stripPointerCasts()) : nullptr; in classifyEHPersonality()
|
| H A D | TypeMetadataUtils.cpp | 95 M, DevirtCalls, CI->getArgOperand(0)->stripPointerCasts(), 0, CI, DT); in findDevirtualizableCallsForTypeTest()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfCFIException.cpp | 104 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction() 147 auto *P = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFragment()
|
| H A D | WinException.cpp | 77 PerFn = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunction() 122 Per = classifyEHPersonality(F.getPersonalityFn()->stripPointerCasts()); in endFunction() 220 PerFn = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in beginFunclet() 244 Per = classifyEHPersonality(F.getPersonalityFn()->stripPointerCasts()); in endFunclet() 978 dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in emitExceptHandlerTable()
|
| H A D | ARMException.cpp | 66 Per = dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in endFunction()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | MemCpyOptimizer.cpp | 109 Ptr1 = Ptr1->stripPointerCasts(); in IsPointerOffset() 110 Ptr2 = Ptr2->stripPointerCasts(); in IsPointerOffset() 125 if (GEP1 && !GEP2 && GEP1->getOperand(0)->stripPointerCasts() == Ptr2) { in IsPointerOffset() 130 if (GEP2 && !GEP1 && GEP2->getOperand(0)->stripPointerCasts() == Ptr1) { in IsPointerOffset() 709 Value *CpyDest = SI->getPointerOperand()->stripPointerCasts(); in processStore() 730 LI, SI->getPointerOperand()->stripPointerCasts(), in processStore() 731 LI->getPointerOperand()->stripPointerCasts(), in processStore() 957 if (CS.getArgument(i)->stripPointerCasts() == cpySrc && in performCallSlotOptzn() 965 if (CS.getArgument(i)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn() 1353 ByValArg->stripPointerCasts() != MDep->getDest()) in processByValArgument()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroInstr.h | 105 : cast<AllocaInst>(Arg->stripPointerCasts()); in getPromise() 161 return cast<Constant>(getArgOperand(InfoArg)->stripPointerCasts()); in getRawInfo() 167 return cast<Function>(getArgOperand(CoroutineArg)->stripPointerCasts()); in getCoroutine()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 158 dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts()); in runOnFunction() 307 cast<Function>(CxxLongjmpUnwind->stripPointerCasts()) in emitExceptionRegistrationRecord() 360 cast<Function>(SehLongjmpUnwind->stripPointerCasts()) in emitExceptionRegistrationRecord() 769 if (CS.getCalledValue()->stripPointerCasts() != in addStateStores() 770 SetJmp3->stripPointerCasts()) in addStateStores()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUFixFunctionBitcasts.cpp | 38 auto Callee = dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); in visitCallSite()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | GCRootLowering.cpp | 155 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts())) in InsertRootInitializers() 228 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); in DoLowering()
|
| H A D | MachineFunction.cpp | 639 dyn_cast<Function>(F.getPersonalityFn()->stripPointerCasts())) in addLandingPad() 652 dyn_cast<GlobalValue>(Val->stripPointerCasts())); in addLandingPad() 659 FilterList.push_back(cast<GlobalValue>((*II)->stripPointerCasts())); in addLandingPad() 667 Value *TypeInfo = CPI->getArgOperand(I - 1)->stripPointerCasts(); in addLandingPad()
|
| H A D | WinEHPrepare.cpp | 153 HT.TypeDescriptor = cast<GlobalVariable>(TypeInfo->stripPointerCasts()); in addTryBlockMapEntry() 157 dyn_cast<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts())) in addTryBlockMapEntry() 356 cast<Constant>(CatchPad->getArgOperand(0)->stripPointerCasts()); in calculateSEHStateNumbers() 957 dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts()); in removeImplausibleInstructions()
|
| H A D | GlobalMerge.cpp | 574 dyn_cast<GlobalVariable>(InitList->getOperand(i)->stripPointerCasts())) in collectUsedGlobalVariables() 591 dyn_cast<GlobalVariable>(U->stripPointerCasts())) in setMustKeepGlobalVariables()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | ObjCARCAnalysisUtils.h | 119 V = V->stripPointerCasts(); in GetRCIdentityRoot()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGOpenCLRuntime.cpp | 165 EnqueuedBlockMap[Block].BlockArg->stripPointerCasts()); in emitOpenCLEnqueuedBlock()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | WholeProgramDevirt.cpp | 754 auto Fn = dyn_cast<Function>(Ptr->stripPointerCasts()); in tryFindVirtualCallTargets() 776 TheFn->stripPointerCasts()->getName(), OREGetter); in applySingleImplDevirt() 916 JT->stripPointerCasts()->getName(), OREGetter); in applyICallBranchFunnel() 1087 auto *GV = cast<GlobalVariable>(C->stripPointerCasts()); in importConstant() 1383 Value *Ptr = CI->getArgOperand(0)->stripPointerCasts(); in scanTypeTestUsers()
|