Home
last modified time | relevance | path

Searched refs:getKillRegState (Results 1 – 25 of 73) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRExpandPseudoInsts.cpp165 .addReg(DstLoReg, getKillRegState(DstIsKill)) in expandArith()
166 .addReg(SrcLoReg, getKillRegState(SrcIsKill)); in expandArith()
171 .addReg(DstHiReg, getKillRegState(DstIsKill)) in expandArith()
172 .addReg(SrcHiReg, getKillRegState(SrcIsKill)); in expandArith()
199 .addReg(DstLoReg, getKillRegState(DstIsKill)) in expandLogic()
200 .addReg(SrcLoReg, getKillRegState(SrcIsKill)); in expandLogic()
208 .addReg(DstHiReg, getKillRegState(DstIsKill)) in expandLogic()
209 .addReg(SrcHiReg, getKillRegState(SrcIsKill)); in expandLogic()
260 .addReg(DstLoReg, getKillRegState(SrcIsKill)) in expandLogicImm()
274 .addReg(DstHiReg, getKillRegState(SrcIsKill)) in expandLogicImm()
[all …]
H A DAVRInstrInfo.cpp54 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
68 .addReg(SrcHi, getKillRegState(KillSrc) | RegState::Undef); in copyPhysReg()
70 .addReg(SrcLo, getKillRegState(KillSrc) | RegState::Undef); in copyPhysReg()
73 .addReg(SrcLo, getKillRegState(KillSrc) | RegState::Undef); in copyPhysReg()
75 .addReg(SrcHi, getKillRegState(KillSrc) | RegState::Undef); in copyPhysReg()
90 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
160 .addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb1InstrInfo.cpp56 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
71 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
96 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
99 .addReg(TmpReg, getKillRegState(true)) in copyPhysReg()
107 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
135 .addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot()
H A DMLxExpansionPass.cpp291 .addReg(Src1Reg, getKillRegState(Src1Kill)) in ExpandFPMLxInstruction()
292 .addReg(Src2Reg, getKillRegState(Src2Kill)); in ExpandFPMLxInstruction()
302 MIB.addReg(TmpReg, getKillRegState(true)) in ExpandFPMLxInstruction()
303 .addReg(AccReg, getKillRegState(AccKill)); in ExpandFPMLxInstruction()
305 MIB.addReg(AccReg).addReg(TmpReg, getKillRegState(true)); in ExpandFPMLxInstruction()
H A DARMLoadStoreOptimizer.cpp747 .addReg(Base, getKillRegState(KillOldBase)); in CreateLoadStoreMulti()
750 .addReg(Base, getKillRegState(KillOldBase)) in CreateLoadStoreMulti()
760 .addReg(Base, getKillRegState(KillOldBase)) in CreateLoadStoreMulti()
766 .addReg(Base, getKillRegState(KillOldBase)) in CreateLoadStoreMulti()
771 .addReg(Base, getKillRegState(KillOldBase)) in CreateLoadStoreMulti()
813 .addReg(Base, getKillRegState(BaseKill)); in CreateLoadStoreMulti()
822 MIB.addReg(Base, getKillRegState(BaseKill)); in CreateLoadStoreMulti()
828 MIB.addReg(R.first, getDefRegState(isDef) | getKillRegState(R.second)); in CreateLoadStoreMulti()
852 MIB.addReg(Regs[0].first, getKillRegState(Regs[0].second)) in CreateLoadStoreDouble()
853 .addReg(Regs[1].first, getKillRegState(Regs[1].second)); in CreateLoadStoreDouble()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVERegisterInfo.cpp305 TmpReg, getKillRegState(true)); in processSTVM()
309 build(VE::SVMmr, TmpReg).addReg(SrcReg, getKillRegState(isKill)).addImm(3); in processSTVM()
352 build(VE::LVMir, DestReg).addImm(i).addReg(TmpReg, getKillRegState(true)); in processLDVM()
356 .addReg(TmpReg, getKillRegState(true)) in processLDVM()
361 .addReg(TmpReg, getKillRegState(true)) in processLDVM()
387 TmpReg, getKillRegState(true)); in processSTVM512()
398 TmpReg, getKillRegState(true)); in processSTVM512()
433 .addReg(TmpReg, getKillRegState(true)) in processLDVM512()
443 .addReg(TmpReg, getKillRegState(true)) in processLDVM512()
451 .addReg(TmpReg, getKillRegState(true)) in processLDVM512()
H A DVEInstrInfo.cpp366 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
384 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
385 .addReg(SubTmp, getKillRegState(true)); in copyPhysReg()
390 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
481 .addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot()
488 .addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot()
495 .addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot()
502 .addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot()
509 .addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot()
516 .addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot()
[all …]
H A DVEISelLowering.cpp2043 .addReg(Tmp1, getKillRegState(true)) in prepareMBB()
2047 .addReg(Tmp2, getKillRegState(true)) in prepareMBB()
2059 .addReg(Tmp1, getKillRegState(true)) in prepareMBB()
2062 .addReg(Tmp2, getKillRegState(true)) in prepareMBB()
2104 .addReg(Tmp1, getKillRegState(true)) in prepareSymbol()
2108 .addReg(Tmp2, getKillRegState(true)) in prepareSymbol()
2124 .addReg(Tmp1, getKillRegState(true)) in prepareSymbol()
2128 .addReg(Tmp2, getKillRegState(true)) in prepareSymbol()
2131 .addReg(Tmp3, getKillRegState(true)) in prepareSymbol()
2147 .addReg(Tmp1, getKillRegState(true)) in prepareSymbol()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstrInfo.cpp456 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
464 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
468 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
479 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
496 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
500 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
545 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
548 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
551 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
554 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.cpp45 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
53 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
61 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
70 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
77 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
83 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
107 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
140 .addReg(SrcReg, getKillRegState(IsKill)) in storeRegToStackSlot()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFInstrInfo.cpp37 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
40 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
136 .addReg(SrcReg, getKillRegState(IsKill)) in storeRegToStackSlot()
141 .addReg(SrcReg, getKillRegState(IsKill)) in storeRegToStackSlot()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYInstrInfo.cpp429 .addReg(SrcReg, getKillRegState(IsKill)) in storeRegToStackSlot()
486 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
491 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
502 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
510 .addReg(DestReg, getKillRegState(true)) in copyPhysReg()
511 .addReg(DestReg, getKillRegState(true)) in copyPhysReg()
512 .addReg(SrcReg, getKillRegState(true)); in copyPhysReg()
563 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
H A DCSKYRegisterInfo.cpp210 .addReg(NewReg, getKillRegState(true)) in eliminateFrameIndex()
230 .addReg(NewReg, getKillRegState(true)) in eliminateFrameIndex()
231 .addReg(NewReg, getKillRegState(true)) in eliminateFrameIndex()
240 .addReg(NewReg, getKillRegState(true)) in eliminateFrameIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrBuilder.h159 return addOffset(MIB.addReg(Reg, getKillRegState(isKill)), Offset); in addRegOffset()
167 return MIB.addReg(Reg1, getKillRegState(isKill1)).addImm(1) in addRegReg()
168 .addReg(Reg2, getKillRegState(isKill2)).addImm(0).addReg(0); in addRegReg()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVRegisterInfo.cpp236 .addReg(SrcReg, getKillRegState(KillSrcReg)) in adjustReg()
254 .addReg(SrcReg, getKillRegState(KillSrcReg)) in adjustReg()
283 .addReg(SrcReg, getKillRegState(KillSrcReg)) in adjustReg()
298 .addReg(SrcReg, getKillRegState(KillSrcReg)) in adjustReg()
368 .addReg(Base, getKillRegState(I == NF - 1)) in lowerVSPILL()
373 .addReg(Base, getKillRegState(I != 0 || IsBaseKill)) in lowerVSPILL()
374 .addReg(VL, getKillRegState(I == NF - 2)); in lowerVSPILL()
441 .addReg(Base, getKillRegState(I == NF - 1)) in lowerVRELOAD()
445 .addReg(Base, getKillRegState(I != 0 || IsBaseKill)) in lowerVRELOAD()
446 .addReg(VL, getKillRegState(I == NF - 2)); in lowerVRELOAD()
H A DRISCVInstrInfo.cpp423 MIB = MIB.addReg(ActualSrcReg, getKillRegState(KillSrc)); in copyPhysRegVector()
448 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
458 getKillRegState(KillSrc)) in copyPhysReg()
463 getKillRegState(KillSrc)) in copyPhysReg()
493 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
494 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
500 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
501 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
507 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
508 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreRegisterInfo.cpp77 .addReg(Reg, getKillRegState(MI.getOperand(0).isKill())) in InsertFPImmInst()
114 .addReg(Reg, getKillRegState(MI.getOperand(0).isKill())) in InsertFPConstInst()
148 .addReg(Reg, getKillRegState(MI.getOperand(0).isKill())) in InsertSPImmInst()
193 .addReg(Reg, getKillRegState(MI.getOperand(0).isKill())) in InsertSPConstInst()
H A DXCoreInstrInfo.cpp340 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
352 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
372 .addReg(SrcReg, getKillRegState(isKill)) in storeRegToStackSlot()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaInstrInfo.cpp113 .addReg(SrcReg, getKillRegState(KillSrc)) in copyPhysReg()
114 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
127 .addReg(SrcReg, getKillRegState(isKill)); in storeRegToStackSlot()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp706 .addReg(VReg1, getKillRegState(true)) in generateLoadForNewConst()
921 .addReg(RegX, getKillRegState(KillX)) in reassociateFMA()
922 .addReg(RegM21, getKillRegState(KillM21)) in reassociateFMA()
923 .addReg(RegM22, getKillRegState(KillM22)); in reassociateFMA()
926 .addReg(RegY, getKillRegState(KillY)) in reassociateFMA()
927 .addReg(RegM31, getKillRegState(KillM31)) in reassociateFMA()
928 .addReg(RegM32, getKillRegState(KillM32)); in reassociateFMA()
938 .addReg(NewVRB, getKillRegState(true)) in reassociateFMA()
939 .addReg(NewVRA, getKillRegState(true)); in reassociateFMA()
958 .addReg(RegM11, getKillRegState(KillM11)) in reassociateFMA()
[all …]
H A DPPCRegisterInfo.cpp770 .addReg(NegSizeReg, getKillRegState(KillNegSizeReg)); in lowerDynamicAlloc()
778 .addReg(NegSizeReg, getKillRegState(KillNegSizeReg)); in lowerDynamicAlloc()
858 .addReg(UnalNegSizeReg, getKillRegState(KillNegSizeReg)) in prepareDynamicAlloca()
875 .addReg(UnalNegSizeReg, getKillRegState(KillNegSizeReg)) in prepareDynamicAlloca()
975 .addReg(SrcReg, getKillRegState(MI.getOperand(0).isKill())); in lowerCRSpilling()
1135 RegState::Implicit | getKillRegState(MI.getOperand(0).isKill())); in lowerCRBitSpilling()
1256 .addReg(Reg, getKillRegState(IsKilled)), in spillRegPairs()
1260 .addReg(Reg + 1, getKillRegState(IsKilled)), in spillRegPairs()
1265 .addReg(Reg + 2, getKillRegState(IsKilled)), in spillRegPairs()
1269 .addReg(Reg + 3, getKillRegState(IsKilled)), in spillRegPairs()
[all …]
H A DPPCFrameLowering.cpp812 .addReg(TempReg, getKillRegState(true)) in emitPrologue()
847 .addReg(ScratchReg, getKillRegState(!HasROPProtect)) in emitPrologue()
865 .addReg(ScratchReg, getKillRegState(true)) in emitPrologue()
878 .addReg(TempReg, getKillRegState(true)) in emitPrologue()
984 .addReg(TOCReg, getKillRegState(true)) in emitPrologue()
1783 .addReg(TempReg, getKillRegState(i == e-1)); in emitEpilogue()
1859 .addReg(TempReg, getKillRegState(i == e-1)); in emitEpilogue()
2481 getKillRegState(true)), in spillCalleeSavedRegisters()
2497 .addReg(VSRContainingGPRs[Dst].first, getKillRegState(true)) in spillCalleeSavedRegisters()
2498 .addReg(VSRContainingGPRs[Dst].second, getKillRegState(true)); in spillCalleeSavedRegisters()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AdvSIMDScalarPass.cpp278 .addReg(Src, getKillRegState(IsKill)); in insertCopy()
363 .addReg(Src0, getKillRegState(KillSrc0), SubReg0) in transformInstruction()
364 .addReg(Src1, getKillRegState(KillSrc1), SubReg1); in transformInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.cpp53 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
57 .addReg(SrcReg, getKillRegState(isKill)).addMemOperand(MMO); in storeRegToStackSlot()
103 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsSEInstrInfo.cpp112 .addReg(SrcReg, RegState::Implicit | getKillRegState(KillSrc)); in copyPhysReg()
133 .addReg(SrcReg, getKillRegState(KillSrc)).addImm(1 << 4) in copyPhysReg()
139 .addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
180 MIB.addReg(SrcReg, getKillRegState(KillSrc)); in copyPhysReg()
284 BuildMI(MBB, I, DL, get(Opc)).addReg(SrcReg, getKillRegState(isKill)) in storeRegToStack()
723 LoInst.addReg(SrcLo.getReg(), getKillRegState(SrcLo.isKill())); in expandPseudoMTLoHi()
724 HiInst.addReg(SrcHi.getReg(), getKillRegState(SrcHi.isKill())); in expandPseudoMTLoHi()
734 unsigned KillSrc = getKillRegState(Src.isKill()); in expandCvtFPInt()

123