Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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-15.0.7/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp169 bool HasDef = MCID.getNumDefs(); in commuteInstructionImpl() local
170 if (HasDef && !MI.getOperand(0).isReg()) in commuteInstructionImpl()
182 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in commuteInstructionImpl()
185 unsigned SubReg0 = HasDef ? MI.getOperand(0).getSubReg() : 0; in commuteInstructionImpl()
204 if (HasDef && Reg0 == Reg1 && in commuteInstructionImpl()
209 } else if (HasDef && Reg0 == Reg2 && in commuteInstructionImpl()
225 if (HasDef) { in commuteInstructionImpl()
H A DRegAllocFast.cpp1137 bool HasDef = false; in allocateInstruction() local
1146 HasDef = true; in allocateInstruction()
1159 HasDef = true; in allocateInstruction()
1177 if (HasDef) { in allocateInstruction()
H A DStackMaps.cpp63 : MI(MI), HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in PatchPointOpers()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp984 bool HasDef = false; in UpdateCPSRDef() local
993 HasDef = true; in UpdateCPSRDef()
996 return HasDef || LiveCPSR; in UpdateCPSRDef()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp729 bool HasDef = false; in isPredicable() local
733 if (HasDef) in isPredicable()
735 HasDef = true; in isPredicable()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DXRefsTests.cpp1106 bool HasDef = !T.ranges("def" + std::to_string(Idx)).empty(); in TEST() local
1107 if (!HasDecl && !HasDef) in TEST()
1112 if (HasDef) in TEST()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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.cpp771 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
799 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
H A DSelectionDAGBuilder.cpp9401 bool HasDef = !CB.getType()->isVoidTy(); in visitPatchpoint() local
9435 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in visitPatchpoint()
9497 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
9515 if (HasDef) { in visitPatchpoint()
9526 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp6171 bool HasDef = MI.getDesc().getNumDefs(); in foldMemoryOperandImpl() local
6172 Register Reg0 = HasDef ? MI.getOperand(0).getReg() : Register(); in foldMemoryOperandImpl()
6182 if ((HasDef && Reg0 == Reg1 && Tied1) || in foldMemoryOperandImpl()
6183 (HasDef && Reg0 == Reg2 && Tied2)) in foldMemoryOperandImpl()