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.h83 bool HasDef; variable
87 return (HasDef ? 1 : 0) + Pos;
98 bool hasDef() const { return HasDef; } in hasDef()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp172 bool HasDef = MCID.getNumDefs(); in commuteInstructionImpl() local
173 if (HasDef && !MI.getOperand(0).isReg()) in commuteInstructionImpl()
185 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in commuteInstructionImpl()
188 unsigned SubReg0 = HasDef ? MI.getOperand(0).getSubReg() : 0; in commuteInstructionImpl()
205 if (HasDef && Reg0 == Reg1 && in commuteInstructionImpl()
210 } else if (HasDef && Reg0 == Reg2 && in commuteInstructionImpl()
226 if (HasDef) { in commuteInstructionImpl()
H A DRegAllocFast.cpp1408 bool HasDef = false; in allocateInstruction() local
1418 HasDef = true; in allocateInstruction()
1430 HasDef = true; in allocateInstruction()
1448 if (HasDef) { in allocateInstruction()
H A DStackMaps.cpp63 : 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.cpp750 bool HasDef = false; in isPredicable() local
754 if (HasDef) in isPredicable()
756 HasDef = true; in isPredicable()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp382 bool HasDef = false; in markDefs() local
394 HasDef |= Overlap.any(); in markDefs()
411 if (HasDef) in markDefs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp346 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo() local
347 if (HasDef) { in lowerCallFromStatepointLoweringInfo()
H A DFastISel.cpp767 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
772 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
803 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
H A DSelectionDAGBuilder.cpp10565 bool HasDef = !CB.getType()->isVoidTy(); in visitPatchpoint() local
10601 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in visitPatchpoint()
10660 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
10678 if (HasDef) { in visitPatchpoint()
10689 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp7322 bool HasDef = MI.getDesc().getNumDefs(); in commuteOperandsForFold() local
7323 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in commuteOperandsForFold()
7331 if ((HasDef && Reg0 == Reg1 && Tied1) || (HasDef && Reg0 == Reg2 && Tied2)) in commuteOperandsForFold()