Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/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-12.1/contrib/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp152 bool HasDef = MCID.getNumDefs(); in commuteInstructionImpl() local
153 if (HasDef && !MI.getOperand(0).isReg()) in commuteInstructionImpl()
165 unsigned Reg0 = HasDef ? MI.getOperand(0).getReg() : 0; in commuteInstructionImpl()
168 unsigned SubReg0 = HasDef ? MI.getOperand(0).getSubReg() : 0; in commuteInstructionImpl()
187 if (HasDef && Reg0 == Reg1 && in commuteInstructionImpl()
192 } else if (HasDef && Reg0 == Reg2 && in commuteInstructionImpl()
208 if (HasDef) { in commuteInstructionImpl()
H A DStackMaps.cpp56 : MI(MI), HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in PatchPointOpers()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp974 bool HasDef = false; in UpdateCPSRDef() local
983 HasDef = true; in UpdateCPSRDef()
986 return HasDef || LiveCPSR; in UpdateCPSRDef()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp728 bool HasDef = false; in isPredicable() local
732 if (HasDef) in isPredicable()
734 HasDef = true; in isPredicable()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp338 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo() local
339 if (HasDef) { in lowerCallFromStatepointLoweringInfo()
H A DFastISel.cpp913 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
941 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
H A DSelectionDAGBuilder.cpp8202 bool HasDef = !CS->getType()->isVoidTy(); in visitPatchpoint() local
8236 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in visitPatchpoint()
8299 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
8318 if (HasDef) { in visitPatchpoint()
8329 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp4939 bool HasDef = MI.getDesc().getNumDefs(); in foldMemoryOperandImpl() local
4940 unsigned Reg0 = HasDef ? MI.getOperand(0).getReg() : 0; in foldMemoryOperandImpl()
4950 if ((HasDef && Reg0 == Reg1 && Tied1) || in foldMemoryOperandImpl()
4951 (HasDef && Reg0 == Reg2 && Tied2)) in foldMemoryOperandImpl()