Home
last modified time | relevance | path

Searched refs:LoadMI (Results 1 – 15 of 15) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp654 MachineInstr &LoadMI, in foldMemoryOperand() argument
656 assert(LoadMI.canFoldAsLoad() && "LoadMI isn't foldable!"); in foldMemoryOperand()
672 isLoadFromStackSlot(LoadMI, FrameIndex)) { in foldMemoryOperand()
679 NewMI = foldMemoryOperandImpl(MF, MI, Ops, MI, LoadMI, LIS); in foldMemoryOperand()
687 NewMI->setMemRefs(MF, LoadMI.memoperands()); in foldMemoryOperand()
691 for (MachineInstr::mmo_iterator I = LoadMI.memoperands_begin(), in foldMemoryOperand()
692 E = LoadMI.memoperands_end(); in foldMemoryOperand()
H A DInlineSpiller.cpp232 MachineInstr *LoadMI = nullptr);
822 MachineInstr *LoadMI) { in foldMemoryOperand() argument
863 if (LoadMI && MO.isDef()) in foldMemoryOperand()
894 LoadMI ? TII.foldMemoryOperand(*MI, FoldOps, *LoadMI, &LIS) in foldMemoryOperand()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.h284 MachineBasicBlock::iterator InsertPt, MachineInstr &LoadMI,
H A DSystemZInstrInfo.cpp1328 MachineBasicBlock::iterator InsertPt, MachineInstr &LoadMI, in foldMemoryOperandImpl() argument
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp939 auto &LoadMI = cast<GLoad>(MI); in narrowScalar() local
947 MIRBuilder.buildLoad(TmpReg, LoadMI.getPointerReg(), LoadMI.getMMO()); in narrowScalar()
949 LoadMI.eraseFromParent(); in narrowScalar()
957 auto &LoadMI = cast<GExtLoad>(MI); in narrowScalar() local
962 auto &MMO = LoadMI.getMMO(); in narrowScalar()
974 if (isa<GZExtLoad>(LoadMI)) in narrowScalar()
979 LoadMI.eraseFromParent(); in narrowScalar()
2883 Register DstReg = LoadMI.getDstReg(); in lowerLoad()
2912 if (isa<GSExtLoad>(LoadMI)) { in lowerLoad()
2927 LoadMI.eraseFromParent(); in lowerLoad()
[all …]
H A DCombinerHelper.cpp446 GAnyLoad *LoadMI = dyn_cast<GAnyLoad>(&MI); in matchCombineExtendingLoads() local
447 if (!LoadMI) in matchCombineExtendingLoads()
450 Register LoadReg = LoadMI->getDstReg(); in matchCombineExtendingLoads()
483 const auto &MMO = LoadMI->getMMO(); in matchCombineExtendingLoads()
494 LLT SrcTy = MRI.getType(LoadMI->getPointerReg()); in matchCombineExtendingLoads()
495 if (LI->getAction({LoadMI->getOpcode(), {UseTy, SrcTy}, {MMDesc}}) in matchCombineExtendingLoads()
669 if (auto *LoadMI = getOpcodeDef<GSExtLoad>(LoadUser, MRI)) { in matchSextTruncSextLoad() local
671 auto LoadSizeBits = LoadMI->getMemSizeInBits(); in matchSextTruncSextLoad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LoadStoreOptimizer.cpp1237 MachineInstr &LoadMI = *I; in findMatchingStore() local
1238 Register BaseReg = getLdStBaseOp(LoadMI).getReg(); in findMatchingStore()
1266 if (MI.mayStore() && isMatchingStore(LoadMI, MI) && in findMatchingStore()
1268 isLdOffsetInRangeOfSt(LoadMI, MI, TII) && in findMatchingStore()
1286 if (MI.mayStore() && LoadMI.mayAlias(AA, MI, /*UseTBAA*/ false)) in findMatchingStore()
H A DAArch64FastISel.cpp4442 const auto *LoadMI = MI; in optimizeIntExtLoad() local
4443 if (LoadMI->getOpcode() == TargetOpcode::COPY && in optimizeIntExtLoad()
4444 LoadMI->getOperand(1).getSubReg() == AArch64::sub_32) { in optimizeIntExtLoad()
4446 LoadMI = MRI.getUniqueVRegDef(LoadReg); in optimizeIntExtLoad()
4447 assert(LoadMI && "Expected valid instruction"); in optimizeIntExtLoad()
4449 if (!(IsZExt && isZExtLoad(LoadMI)) && !(!IsZExt && isSExtLoad(LoadMI))) in optimizeIntExtLoad()
H A DAArch64InstrInfo.cpp4302 MachineInstr &LoadMI = *--InsertPt; in foldMemoryOperandImpl() local
4303 MachineOperand &LoadDst = LoadMI.getOperand(0); in foldMemoryOperandImpl()
4307 return &LoadMI; in foldMemoryOperandImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp2522 auto *LoadMI = emitLoadFromConstantPool(FPImm, MIB); in select() local
2523 if (!LoadMI) { in select()
2527 MIB.buildCopy({DefReg}, {LoadMI->getOperand(0).getReg()}); in select()
3089 if (LoadMI && IsGPR) { in select()
4150 MachineInstr *LoadMI = nullptr; in emitLoadFromConstantPool() local
4155 LoadMI = in emitLoadFromConstantPool()
4162 LoadMI = in emitLoadFromConstantPool()
4169 LoadMI = in emitLoadFromConstantPool()
4180 LoadMI->addMemOperand(MF, MF.getMachineMemOperand(PtrInfo, in emitLoadFromConstantPool()
4184 constrainSelectedInstRegOperands(*LoadMI, TII, TRI, RBI); in emitLoadFromConstantPool()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetInstrInfo.h1106 MachineInstr &LoadMI,
1222 MachineBasicBlock::iterator InsertPt, MachineInstr &LoadMI,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.h395 MachineBasicBlock::iterator InsertPt, MachineInstr &LoadMI,
H A DX86InstrInfo.cpp5816 unsigned Opc = LoadMI.getOpcode(); in isNonFoldablePartialRegisterLoad()
6055 unsigned NumOps = LoadMI.getDesc().getNumOperands(); in foldMemoryOperandImpl()
6057 if (isLoadFromStackSlot(LoadMI, FrameIndex)) { in foldMemoryOperandImpl()
6058 if (isNonFoldablePartialRegisterLoad(LoadMI, MI, MF)) in foldMemoryOperandImpl()
6074 if (LoadMI.hasOneMemOperand()) in foldMemoryOperandImpl()
6075 Alignment = (*LoadMI.memoperands_begin())->getAlign(); in foldMemoryOperandImpl()
6077 switch (LoadMI.getOpcode()) { in foldMemoryOperandImpl()
6128 switch (LoadMI.getOpcode()) { in foldMemoryOperandImpl()
6170 unsigned Opc = LoadMI.getOpcode(); in foldMemoryOperandImpl()
6207 if (isNonFoldablePartialRegisterLoad(LoadMI, MI, MF)) in foldMemoryOperandImpl()
[all …]
H A DX86FastISel.cpp793 MachineInstrBuilder LoadMI = in handleConstantAddresses() local
795 addFullAddress(LoadMI, StubAM); in handleConstantAddresses()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp535 MachineInstr *LoadMI = MRI->getVRegDef(FeedReg1); in simplifyCode() local
536 if (LoadMI && LoadMI->getOpcode() == PPC::LXVDSX) in simplifyCode()