Searched refs:MemI (Results 1 – 9 of 9) sorted by relevance
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 272 static Value *GetPointerOperand(Value *MemI) { in GetPointerOperand() argument 273 if (LoadInst *LMemI = dyn_cast<LoadInst>(MemI)) { in GetPointerOperand() 312 assert((MemI && GetPointerOperand(MemI)) && in addOneCandidate() 328 Buckets.push_back(Bucket(LSCEV, MemI)); in addOneCandidate() 340 Instruction *MemI; in collectCandidates() local 343 MemI = LMemI; in collectCandidates() 346 MemI = SMemI; in collectCandidates() 351 MemI = IMemI; in collectCandidates() 354 MemI = IMemI; in collectCandidates() 508 Value *BasePtr = GetPointerOperand(MemI); in rewriteLoadStores() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | LoopDataPrefetch.cpp | 237 Instruction *MemI; member 241 : LSCEVAddRec(L), InsertPt(nullptr), Writes(false), MemI(nullptr) { in Prefetch() 252 MemI = I; in addInstruction() 321 Instruction *MemI; in runOnLoop() local 324 MemI = LMemI; in runOnLoop() 328 MemI = SMemI; in runOnLoop() 355 Pref.addInstruction(MemI, DT, PD); in runOnLoop() 362 Prefetches.push_back(Prefetch(LSCEVAddRec, MemI)); in runOnLoop() 408 << *P.MemI->getOperand(isa<LoadInst>(P.MemI) ? 0 : 1) in runOnLoop() 411 return OptimizationRemark(DEBUG_TYPE, "Prefetched", P.MemI) in runOnLoop()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 820 GetElementPtrInst *GEPI, Instruction *MemI, in canReplaceGEPIdxWithZero() argument 868 KnownBits Known = IC.computeKnownBits(GEPI->getOperand(i), 0, MemI); in canReplaceGEPIdxWithZero() 896 T &MemI) { in replaceGEPIdxWithZero() argument 899 if (canReplaceGEPIdxWithZero(IC, GEPI, &MemI, Idx)) { in replaceGEPIdxWithZero() 904 MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI); in replaceGEPIdxWithZero()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 1224 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getLoadExtAction() local 1226 MemI < MVT::LAST_VALUETYPE && "Table isn't big enough!"); in getLoadExtAction() 1228 return (LegalizeAction)((LoadExtActions[ValI][MemI] >> Shift) & 0xf); in getLoadExtAction() 1249 unsigned MemI = (unsigned) MemVT.getSimpleVT().SimpleTy; in getTruncStoreAction() local 1250 assert(ValI < MVT::LAST_VALUETYPE && MemI < MVT::LAST_VALUETYPE && in getTruncStoreAction() 1252 return TruncStoreActions[ValI][MemI]; in getTruncStoreAction()
|
H A D | TargetInstrInfo.h | 1352 getAddrModeFromMemoryOp(const MachineInstr &MemI, in getAddrModeFromMemoryOp() argument
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64InstrInfo.h | 124 getAddrModeFromMemoryOp(const MachineInstr &MemI,
|
H A D | AArch64InstrInfo.cpp | 2529 AArch64InstrInfo::getAddrModeFromMemoryOp(const MachineInstr &MemI, in getAddrModeFromMemoryOp() argument 2534 if (!getMemOperandWithOffset(MemI, Base, Offset, OffsetIsScalable, TRI)) in getAddrModeFromMemoryOp()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.h | 321 getAddrModeFromMemoryOp(const MachineInstr &MemI,
|
H A D | X86InstrInfo.cpp | 3669 X86InstrInfo::getAddrModeFromMemoryOp(const MachineInstr &MemI, in getAddrModeFromMemoryOp() argument 3671 const MCInstrDesc &Desc = MemI.getDesc(); in getAddrModeFromMemoryOp() 3678 auto &BaseOp = MemI.getOperand(MemRefBegin + X86::AddrBaseReg); in getAddrModeFromMemoryOp() 3682 const MachineOperand &DispMO = MemI.getOperand(MemRefBegin + X86::AddrDisp); in getAddrModeFromMemoryOp() 3689 AM.ScaledReg = MemI.getOperand(MemRefBegin + X86::AddrIndexReg).getReg(); in getAddrModeFromMemoryOp() 3690 AM.Scale = MemI.getOperand(MemRefBegin + X86::AddrScaleAmt).getImm(); in getAddrModeFromMemoryOp()
|