Home
last modified time | relevance | path

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

/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()
/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.cpp1445 bool HasDef = false; in allocateInstruction()
1455 HasDef = true; in allocateInstruction()
1467 HasDef = true; in allocateInstruction()
1485 if (HasDef) { in allocateInstruction()
1408 bool HasDef = false; allocateInstruction() local
H A DStackMaps.cpp62 : MI(MI), HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in PatchPointOpers()
/llvm-project/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp981 bool HasDef = false; in UpdateCPSRDef()
990 HasDef = true; in UpdateCPSRDef()
993 return HasDef || LiveCPSR; in UpdateCPSRDef()
980 bool HasDef = false; UpdateCPSRDef() local
/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp746 bool HasDef = false; in isPredicable()
750 if (HasDef) in isPredicable() local
752 HasDef = true; in isPredicable()
/llvm-project/clang-tools-extra/clangd/unittests/
H A DXRefsTests.cpp1138 bool HasDef = !T.ranges("def" + std::to_string(Idx)).empty(); in TEST()
1139 if (!HasDecl && !HasDef) in TEST()
1144 if (HasDef) in TEST()
1128 bool HasDef = !T.ranges("def" + std::to_string(Idx)).empty(); TEST() local
/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp385 bool HasDef = false; in markDefs()
397 HasDef |= Overlap.any(); in markDefs()
414 if (HasDef) in markDefs()
381 bool HasDef = false; markDefs() local
/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp345 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo()
346 if (HasDef) { in lowerCallFromStatepointLoweringInfo() local
H A DFastISel.cpp763 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
768 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
799 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
H A DSelectionDAGBuilder.cpp10726 bool HasDef = !CB.getType()->isVoidTy(); in getReturnAttrs()
10762 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in LowerCallTo()
10821 if (IsAnyRegCC && HasDef) { in LowerCallTo()
10839 if (HasDef) { in LowerCallTo()
10850 if (IsAnyRegCC && HasDef) { in LowerCallTo()
10502 bool HasDef = !CB.getType()->isVoidTy(); visitPatchpoint() local
/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp7388 bool HasDef = MI.getDesc().getNumDefs(); in foldMemoryOperandImpl()
7389 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in foldMemoryOperandImpl()
7397 if ((HasDef && Reg0 == Reg1 && Tied1) || (HasDef && Reg0 == Reg2 && Tied2)) in foldMemoryOperandImpl()
7322 bool HasDef = MI.getDesc().getNumDefs(); commuteOperandsForFold() local