Home
last modified time | relevance | path

Searched refs:HasDef (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DStackMaps.h84 bool HasDef; variable
88 return (HasDef ? 1 : 0) + Pos;
99 bool hasDef() const { return HasDef; } in hasDef()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp186 bool HasDef = MCID.getNumDefs(); in commuteInstructionImpl() local
187 if (HasDef && !MI.getOperand(0).isReg()) in commuteInstructionImpl()
199 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in commuteInstructionImpl()
202 unsigned SubReg0 = HasDef ? MI.getOperand(0).getSubReg() : 0; in commuteInstructionImpl()
223 if (HasDef && MI.hasImplicitDef()) { in commuteInstructionImpl()
237 if (HasDef && Reg0 == Reg1 && in commuteInstructionImpl()
242 } else if (HasDef && Reg0 == Reg2 && in commuteInstructionImpl()
258 if (HasDef) { in commuteInstructionImpl()
H A DRegAllocFast.cpp1473 bool HasDef = false; in allocateInstruction() local
1483 HasDef = true; in allocateInstruction()
1495 HasDef = true; in allocateInstruction()
1513 if (HasDef) { in allocateInstruction()
H A DStackMaps.cpp62 : MI(MI), HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in PatchPointOpers()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp980 bool HasDef = false; in UpdateCPSRDef() local
989 HasDef = true; in UpdateCPSRDef()
992 return HasDef || LiveCPSR; in UpdateCPSRDef()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp733 bool HasDef = false; in isPredicable() local
737 if (HasDef) in isPredicable()
739 HasDef = true; in isPredicable()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp345 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo() local
346 if (HasDef) { in lowerCallFromStatepointLoweringInfo()
H A DFastISel.cpp764 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
769 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
800 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
H A DSelectionDAGBuilder.cpp10727 bool HasDef = !CB.getType()->isVoidTy(); in visitPatchpoint() local
10763 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in visitPatchpoint()
10822 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
10840 if (HasDef) { in visitPatchpoint()
10851 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp393 bool HasDef = false; in markDefs() local
405 HasDef |= Overlap.any(); in markDefs()
422 if (HasDef) in markDefs()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp7408 bool HasDef = MI.getDesc().getNumDefs(); in commuteOperandsForFold() local
7409 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in commuteOperandsForFold()
7417 if ((HasDef && Reg0 == Reg1 && Tied1) || (HasDef && Reg0 == Reg2 && Tied2)) in commuteOperandsForFold()