| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILDataScalarization.cpp | 146 Value *PtrOperand = LI.getPointerOperand(); in visitLoadInst() local 147 ConstantExpr *CE = dyn_cast<ConstantExpr>(PtrOperand); in visitLoadInst() 159 if (GlobalVariable *NewGlobal = lookupReplacementGlobal(PtrOperand)) in visitLoadInst() 166 Value *PtrOperand = SI.getPointerOperand(); in visitStoreInst() local 167 ConstantExpr *CE = dyn_cast<ConstantExpr>(PtrOperand); in visitStoreInst() 179 if (GlobalVariable *NewGlobal = lookupReplacementGlobal(PtrOperand)) in visitStoreInst() 304 Value *PtrOperand = GEPI.getPointerOperand(); in visitGetElementPtrInst() local 309 if (GlobalVariable *NewGlobal = lookupReplacementGlobal(PtrOperand)) { in visitGetElementPtrInst() 311 PtrOperand = NewGlobal; in visitGetElementPtrInst() 313 } else if (AllocaInst *Alloca = dyn_cast<AllocaInst>(PtrOperand)) { in visitGetElementPtrInst() [all …]
|
| H A D | DXILFlattenArrays.cpp | 220 Value *PtrOperand = GEP.getPointerOperand(); in visitGetElementPtrInst() local 224 assert(!isa<PHINode>(PtrOperand) && in visitGetElementPtrInst() 229 if (auto *PtrOpGEPCE = dyn_cast<ConstantExpr>(PtrOperand); in visitGetElementPtrInst() 265 if (auto *PtrOpGEP = dyn_cast<GEPOperator>(PtrOperand)) { in visitGetElementPtrInst() 275 Info.RootPointerOperand = PtrOperand; in visitGetElementPtrInst() 281 if (auto *GlobalVar = dyn_cast<GlobalVariable>(PtrOperand)) { in visitGetElementPtrInst() 286 } else if (auto *Alloca = dyn_cast<AllocaInst>(PtrOperand)) in visitGetElementPtrInst()
|
| H A D | DXILPrepare.cpp | 292 Value *PtrOperand = CB->getArgOperand(1); in runOnModule() local 294 PointerType *PtrTy = cast<PointerType>(PtrOperand->getType()); in runOnModule() 296 CastInst::Create(Instruction::BitCast, PtrOperand, in runOnModule()
|
| H A D | DXILLegalizePass.cpp | 125 Value *PtrOperand = GEP->getPointerOperand(); in fixI8UseChain() local 128 if (auto *GV = dyn_cast<GlobalVariable>(PtrOperand)) in fixI8UseChain() 130 if (auto *AI = dyn_cast<AllocaInst>(PtrOperand)) in fixI8UseChain() 139 GEPType, PtrOperand, {Builder.getInt32(0), Builder.getInt32(Index)}, in fixI8UseChain()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InferAddressSpaces.cpp | 609 for (Value *PtrOperand : getPointerOperands(*TopVal, *DL, TTI)) { in collectFlatAddressExpressions() 610 appendsFlatAddressExpressionToPostorderStack(PtrOperand, PostorderStack, in collectFlatAddressExpressions() 1042 for (Value *PtrOperand : getPointerOperands(V, *DL, TTI)) { in updateAddressSpace() 1043 auto I = InferredAddrSpace.find(PtrOperand); in updateAddressSpace() 1046 OperandAS = PtrOperand->getType()->getPointerAddressSpace(); in updateAddressSpace() 1049 unsigned AS = getPredicatedAddrSpace(*PtrOperand, &V); in updateAddressSpace() 1056 PredicatedAS[std::make_pair(&V, PtrOperand)] = OperandAS; in updateAddressSpace()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 460 auto *PtrOperand = getLoadStorePointerOperand(I); in run() local 463 RecursivelyDeleteTriviallyDeadInstructions(PtrOperand); in run() 816 Value *PtrOperand = getLoadStorePointerOperand(C[CBegin].Inst); in splitChainByAlignment() local 818 isa<AllocaInst>(PtrOperand->stripPointerCasts()); in splitChainByAlignment() 824 PtrOperand, PrefAlign, DL, C[CBegin].Inst, nullptr, &DT); in splitChainByAlignment()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 4851 Value *PtrOperand, *MaskOperand, *Src0Operand; in visitMaskedStore() local 4854 getCompressingStoreOps(PtrOperand, MaskOperand, Src0Operand, Alignment); in visitMaskedStore() 4856 getMaskedStoreOps(PtrOperand, MaskOperand, Src0Operand, Alignment); in visitMaskedStore() 4858 SDValue Ptr = getValue(PtrOperand); in visitMaskedStore() 4870 MachinePointerInfo(PtrOperand), MMOFlags, in visitMaskedStore() 5026 Value *PtrOperand, *MaskOperand, *Src0Operand; in visitMaskedLoad() local 5029 getExpandingLoadOps(PtrOperand, MaskOperand, Src0Operand, Alignment); in visitMaskedLoad() 5031 getMaskedLoadOps(PtrOperand, MaskOperand, Src0Operand, Alignment); in visitMaskedLoad() 5033 SDValue Ptr = getValue(PtrOperand); in visitMaskedLoad() 5043 MemoryLocation ML = MemoryLocation::getAfter(PtrOperand, AAInfo); in visitMaskedLoad() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelDAGToDAG.cpp | 2805 unsigned PtrOperand = HasWriteback ? 1 : 2; in SelectMVE_VLD() local 2812 SDValue Ops[] = {Data, N->getOperand(PtrOperand), Chain}; in SelectMVE_VLD() 2822 SDValue Ops[] = {Data, N->getOperand(PtrOperand), Chain}; in SelectMVE_VLD()
|