Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp170 bool HasDef = MCID.getNumDefs(); in commuteInstructionImpl() local
171 if (HasDef && !MI.getOperand(0).isReg()) in commuteInstructionImpl()
183 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in commuteInstructionImpl()
186 unsigned SubReg0 = HasDef ? MI.getOperand(0).getSubReg() : 0; in commuteInstructionImpl()
203 if (HasDef && Reg0 == Reg1 && in commuteInstructionImpl()
208 } else if (HasDef && Reg0 == Reg2 && in commuteInstructionImpl()
224 if (HasDef) { in commuteInstructionImpl()
H A DRegAllocFast.cpp1160 bool HasDef = false; in allocateInstruction() local
1171 HasDef = true; in allocateInstruction()
1184 HasDef = true; in allocateInstruction()
1202 if (HasDef) { in allocateInstruction()
H A DStackMaps.cpp63 : MI(MI), HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in PatchPointOpers()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp749 bool HasDef = false; in isPredicable() local
753 if (HasDef) in isPredicable()
755 HasDef = true; in isPredicable()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp344 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo() local
345 if (HasDef) { in lowerCallFromStatepointLoweringInfo()
H A DFastISel.cpp766 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
794 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
H A DSelectionDAGBuilder.cpp9649 bool HasDef = !CB.getType()->isVoidTy(); in visitPatchpoint() local
9683 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in visitPatchpoint()
9745 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
9763 if (HasDef) { in visitPatchpoint()
9774 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp6222 bool HasDef = MI.getDesc().getNumDefs(); in foldMemoryOperandImpl() local
6223 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in foldMemoryOperandImpl()
6233 if ((HasDef && Reg0 == Reg1 && Tied1) || in foldMemoryOperandImpl()
6234 (HasDef && Reg0 == Reg2 && Tied2)) in foldMemoryOperandImpl()