Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/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.cpp1367 bool HasDef = false; in allocateInstruction() local
1377 HasDef = true; in allocateInstruction()
1389 HasDef = true; in allocateInstruction()
1407 if (HasDef) { in allocateInstruction()
H A DStackMaps.cpp63 : MI(MI), HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in PatchPointOpers()
/freebsd-14.2/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-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp381 bool HasDef = false; in markDefs() local
393 HasDef |= Overlap.any(); in markDefs()
410 if (HasDef) in markDefs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp343 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo() local
344 if (HasDef) { in lowerCallFromStatepointLoweringInfo()
H A DFastISel.cpp763 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
791 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
H A DSelectionDAGBuilder.cpp10047 bool HasDef = !CB.getType()->isVoidTy(); in visitPatchpoint() local
10081 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in visitPatchpoint()
10140 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
10158 if (HasDef) { in visitPatchpoint()
10169 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp7412 bool HasDef = MI.getDesc().getNumDefs(); in foldMemoryOperandImpl() local
7413 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in foldMemoryOperandImpl()
7423 if ((HasDef && Reg0 == Reg1 && Tied1) || in foldMemoryOperandImpl()
7424 (HasDef && Reg0 == Reg2 && Tied2)) in foldMemoryOperandImpl()