Home
last modified time | relevance | path

Searched refs:RegDef (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DDispatchStage.cpp47 for (const WriteState &RegDef : IR.getInstruction()->getDefs()) in checkPRF() local
48 RegDefs.emplace_back(RegDef.getRegisterID()); in checkPRF()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp98 MachineInstr *RegDef = MRI.getVRegDef(Reg); in constrainOperandRegClass() local
99 Observer->changedInstr(*RegDef); in constrainOperandRegClass()
1818 MachineInstr *RegDef = MRI.getVRegDef(Reg); in canCreateUndefOrPoison() local
1821 if (auto *GMI = dyn_cast<GenericMachineInstr>(RegDef)) in canCreateUndefOrPoison()
1826 switch (RegDef->getOpcode()) { in canCreateUndefOrPoison()
1834 !shiftAmountKnownInRange(RegDef->getOperand(2).getReg(), MRI); in canCreateUndefOrPoison()
1867 !shiftAmountKnownInRange(RegDef->getOperand(2).getReg(), MRI); in canCreateUndefOrPoison()
1869 GInsertVectorElement *Insert = cast<GInsertVectorElement>(RegDef); in canCreateUndefOrPoison()
1881 GExtractVectorElement *Extract = cast<GExtractVectorElement>(RegDef); in canCreateUndefOrPoison()
1893 GShuffleVector *Shuffle = cast<GShuffleVector>(RegDef); in canCreateUndefOrPoison()
[all …]
H A DCallLowering.cpp1171 MachineInstr *RegDef = getDefIgnoringCopies(OutInfo.Regs[0], MRI); in parametersInCSRMatch() local
1172 if (!RegDef || RegDef->getOpcode() != TargetOpcode::COPY) { in parametersInCSRMatch()
1180 Register CopyRHS = RegDef->getOperand(1).getReg(); in parametersInCSRMatch()
H A DInlineAsmLowering.cpp356 : InlineAsm::Kind::RegDef, in lowerInlineAsm()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInlineAsm.h230 RegDef = 2, // Output register, "=r". enumerator
331 bool isRegDefKind() const { return getKind() == Kind::RegDef; } in isRegDefKind()
343 case Kind::RegDef: in getKindName()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp887 Register RegDef = CopyOperands->Destination->getReg(); in ForwardCopyPropagateBlock() local
888 if (!TRI->regsOverlap(RegDef, RegSrc)) { in ForwardCopyPropagateBlock()
889 assert(RegDef.isPhysical() && RegSrc.isPhysical() && in ForwardCopyPropagateBlock()
892 MCRegister Def = RegDef.asMCReg(); in ForwardCopyPropagateBlock()
939 Register RegDef = CopyOperands->Destination->getReg(); in ForwardCopyPropagateBlock() local
941 if (!TRI->regsOverlap(RegDef, RegSrc)) { in ForwardCopyPropagateBlock()
943 MCRegister Def = RegDef.asMCReg(); in ForwardCopyPropagateBlock()
1031 Register RegDef = CopyOperands->Destination->getReg(); in ForwardCopyPropagateBlock() local
1032 if (!TRI->regsOverlap(RegDef, RegSrc)) { in ForwardCopyPropagateBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp591 const MCRegister RegDef = I.getOperand(0).getReg(); in checkRegisterCurDefs() local
594 for (MCRegAliasIterator Alias(RegDef, &RI, true); Alias.isValid(); in checkRegisterCurDefs()
599 reportWarning("Register `" + Twine(RI.getName(RegDef)) + in checkRegisterCurDefs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp376 const MachineOperand *RegDef = MRI.getOneDef(Reg); in isSSA() local
377 if (RegDef && RegDef->getSubReg() != 0) in isSSA()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGRRList.cpp565 SUnit *RegDef = LiveRegDefs[Pred.getReg()]; (void)RegDef; in ReleasePredecessors() local
566 assert((!RegDef || RegDef == SU || RegDef == Pred.getSUnit()) && in ReleasePredecessors()
H A DFastISel.cpp162 Register RegDef; in findLocalRegDef() local
167 if (RegDef) in findLocalRegDef()
169 RegDef = MO.getReg(); in findLocalRegDef()
175 return RegDef; in findLocalRegDef()
H A DInstrEmitter.cpp1360 case InlineAsm::Kind::RegDef: in EmitSpecialNode()
H A DSelectionDAGBuilder.cpp10168 : InlineAsm::Kind::RegDef, in visitInlineAsm()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenRegisters.cpp2618 for (const Record *RegDef : Regs) { in computeCoveredRegisters() local
2619 CodeGenRegister *Reg = getReg(RegDef); in computeCoveredRegisters()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp1641 case InlineAsm::Kind::RegDef: in handleSpecialFP()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp761 case InlineAsm::Kind::RegDef: in LowerINLINEASM()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp3969 case InlineAsm::Kind::RegDef: in LowerINLINEASM()