Home
last modified time | relevance | path

Searched refs:MemI (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopDataPrefetch.cpp242 Instruction *MemI = nullptr; member
256 MemI = I; in addInstruction()
329 Instruction *MemI; in runOnLoop() local
332 MemI = LMemI; in runOnLoop()
336 MemI = SMemI; in runOnLoop()
363 Pref.addInstruction(MemI, DT, PD); in runOnLoop()
370 Prefetches.push_back(Prefetch(LSCEVAddRec, MemI)); in runOnLoop()
416 << *P.MemI->getOperand(isa<LoadInst>(P.MemI) ? 0 : 1) in runOnLoop()
419 return OptimizationRemark(DEBUG_TYPE, "Prefetched", P.MemI) in runOnLoop()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp260 bool alreadyPrepared(Loop *L, Instruction *MemI,
265 Value *getNodeForInc(Loop *L, Instruction *MemI,
373 static Value *getPointerOperandAndType(Value *MemI, in getPointerOperandAndType() argument
379 if (LoadInst *LMemI = dyn_cast<LoadInst>(MemI)) { in getPointerOperandAndType()
382 } else if (StoreInst *SMemI = dyn_cast<StoreInst>(MemI)) { in getPointerOperandAndType()
386 PointerElementType = Type::getInt8Ty(MemI->getContext()); in getPointerOperandAndType()
832 assert((MemI && getPointerOperandAndType(MemI)) && in addOneCandidate()
843 B.Elements.push_back(BucketElement(Diff, MemI)); in addOneCandidate()
855 Buckets.push_back(Bucket(LSCEV, MemI)); in addOneCandidate()
1149 BasicBlock *BB = MemI->getParent(); in getNodeForInc()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp812 GetElementPtrInst *GEPI, Instruction *MemI, in canReplaceGEPIdxWithZero() argument
860 KnownBits Known = IC.computeKnownBits(GEPI->getOperand(i), 0, MemI); in canReplaceGEPIdxWithZero()
888 T &MemI) { in replaceGEPIdxWithZero() argument
891 if (canReplaceGEPIdxWithZero(IC, GEPI, &MemI, Idx)) { in replaceGEPIdxWithZero()
896 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1281 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getLoadExtAction() local
1283 MemI < MVT::VALUETYPE_SIZE && "Table isn't big enough!"); in getLoadExtAction()
1285 return (LegalizeAction)((LoadExtActions[ValI][MemI] >> Shift) & 0xf); in getLoadExtAction()
1306 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getTruncStoreAction() local
1307 assert(ValI < MVT::VALUETYPE_SIZE && MemI < MVT::VALUETYPE_SIZE && in getTruncStoreAction()
1309 return TruncStoreActions[ValI][MemI]; in getTruncStoreAction()
H A DTargetInstrInfo.h1369 getAddrModeFromMemoryOp(const MachineInstr &MemI, in getAddrModeFromMemoryOp() argument
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.h138 getAddrModeFromMemoryOp(const MachineInstr &MemI,
H A DAArch64InstrInfo.cpp2560 AArch64InstrInfo::getAddrModeFromMemoryOp(const MachineInstr &MemI, in getAddrModeFromMemoryOp() argument
2565 if (!getMemOperandWithOffset(MemI, Base, Offset, OffsetIsScalable, TRI)) in getAddrModeFromMemoryOp()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.h331 getAddrModeFromMemoryOp(const MachineInstr &MemI,
H A DX86InstrInfo.cpp3698 X86InstrInfo::getAddrModeFromMemoryOp(const MachineInstr &MemI, in getAddrModeFromMemoryOp() argument
3700 const MCInstrDesc &Desc = MemI.getDesc(); in getAddrModeFromMemoryOp()
3707 auto &BaseOp = MemI.getOperand(MemRefBegin + X86::AddrBaseReg); in getAddrModeFromMemoryOp()
3711 const MachineOperand &DispMO = MemI.getOperand(MemRefBegin + X86::AddrDisp); in getAddrModeFromMemoryOp()
3718 AM.ScaledReg = MemI.getOperand(MemRefBegin + X86::AddrIndexReg).getReg(); in getAddrModeFromMemoryOp()
3719 AM.Scale = MemI.getOperand(MemRefBegin + X86::AddrScaleAmt).getImm(); in getAddrModeFromMemoryOp()