Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DStackMaps.h83 bool HasDef; variable
87 return (HasDef ? 1 : 0) + Pos;
98 bool hasDef() const { return HasDef; } in hasDef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp171 bool HasDef = MCID.getNumDefs(); in commuteInstructionImpl() local
172 if (HasDef && !MI.getOperand(0).isReg()) in commuteInstructionImpl()
184 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in commuteInstructionImpl()
187 unsigned SubReg0 = HasDef ? MI.getOperand(0).getSubReg() : 0; in commuteInstructionImpl()
206 if (HasDef && Reg0 == Reg1 && in commuteInstructionImpl()
211 } else if (HasDef && Reg0 == Reg2 && in commuteInstructionImpl()
227 if (HasDef) { in commuteInstructionImpl()
H A DRegAllocFast.cpp1123 bool HasDef = false; in allocateInstruction() local
1131 HasDef = true; in allocateInstruction()
1143 HasDef = true; in allocateInstruction()
1161 if (HasDef) { in allocateInstruction()
H A DStackMaps.cpp63 : MI(MI), HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in PatchPointOpers()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp983 bool HasDef = false; in UpdateCPSRDef() local
992 HasDef = true; in UpdateCPSRDef()
995 return HasDef || LiveCPSR; in UpdateCPSRDef()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp729 bool HasDef = false; in isPredicable() local
733 if (HasDef) in isPredicable()
735 HasDef = true; in isPredicable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp383 bool HasDef = false; in markDefs() local
395 HasDef |= Overlap.any(); in markDefs()
412 if (HasDef) in markDefs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp336 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo() local
337 if (HasDef) { in lowerCallFromStatepointLoweringInfo()
H A DFastISel.cpp774 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
802 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
H A DSelectionDAGBuilder.cpp9178 bool HasDef = !CB.getType()->isVoidTy(); in visitPatchpoint() local
9212 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in visitPatchpoint()
9275 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
9294 if (HasDef) { in visitPatchpoint()
9305 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp5685 bool HasDef = MI.getDesc().getNumDefs(); in foldMemoryOperandImpl() local
5686 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in foldMemoryOperandImpl()
5696 if ((HasDef && Reg0 == Reg1 && Tied1) || in foldMemoryOperandImpl()
5697 (HasDef && Reg0 == Reg2 && Tied2)) in foldMemoryOperandImpl()