Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTargetInstrInfoImpl.cpp63 bool HasDef = MCID.getNumDefs(); in commuteInstruction() local
64 if (HasDef && !MI->getOperand(0).isReg()) in commuteInstruction()
77 unsigned Reg0 = HasDef ? MI->getOperand(0).getReg() : 0; in commuteInstruction()
84 if (HasDef && Reg0 == Reg1 && in commuteInstruction()
88 } else if (HasDef && Reg0 == Reg2 && in commuteInstruction()
96 bool Reg0IsDead = HasDef ? MI->getOperand(0).isDead() : false; in commuteInstruction()
98 if (HasDef) in commuteInstruction()
109 if (HasDef) in commuteInstruction()
DLiveIntervalAnalysis.cpp1204 unsigned &NewVReg, unsigned ImpUse, bool &HasDef, bool &HasUse, in rewriteInstructionForSpills() argument
1256 tie(HasUse, HasDef) = MI->readsWritesVirtualRegister(Reg, &Ops); in rewriteInstructionForSpills()
1293 HasDef = false; in rewriteInstructionForSpills()
1329 if (!CanDelete || (HasUse && HasDef)) { in rewriteInstructionForSpills()
1338 } else if (HasUse && HasDef && in rewriteInstructionForSpills()
1375 if (HasDef) { in rewriteInstructionForSpills()
1545 bool HasDef = false; in rewriteInstructionsForSpills() local
1551 ImpUse, HasDef, HasUse, MBBVRegsMap, NewLIs); in rewriteInstructionsForSpills()
1552 if (!HasDef && !HasUse) in rewriteInstructionsForSpills()
1566 if (HasDef) { in rewriteInstructionsForSpills()
[all …]
/external/llvm/include/llvm/CodeGen/
DStackMaps.h46 bool HasDef; variable
53 bool hasDef() const { return HasDef; } in hasDef()
57 return (HasDef ? 1 : 0) + Pos;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DStackMaps.h84 bool HasDef; variable
88 return (HasDef ? 1 : 0) + Pos;
99 bool hasDef() const { return HasDef; } in hasDef()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DUops.cpp106 bool HasDef = false; in hasTiedOperands() local
110 HasDef = true; in hasTiedOperands()
114 return HasUse && HasDef; in hasTiedOperands()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
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()
DStackMaps.cpp56 : MI(MI), HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in PatchPointOpers()
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp130 bool HasDef = MCID.getNumDefs(); in commuteInstructionImpl() local
131 if (HasDef && !MI.getOperand(0).isReg()) in commuteInstructionImpl()
143 unsigned Reg0 = HasDef ? MI.getOperand(0).getReg() : 0; in commuteInstructionImpl()
146 unsigned SubReg0 = HasDef ? MI.getOperand(0).getSubReg() : 0; in commuteInstructionImpl()
157 if (HasDef && Reg0 == Reg1 && in commuteInstructionImpl()
162 } else if (HasDef && Reg0 == Reg2 && in commuteInstructionImpl()
178 if (HasDef) { in commuteInstructionImpl()
DStackMaps.cpp39 : MI(MI), HasDef(MI->getOperand(0).isReg() && MI->getOperand(0).isDef() && in PatchPointOpers()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb2SizeReduction.cpp781 bool HasDef = false; in UpdateCPSRDef() local
791 HasDef = true; in UpdateCPSRDef()
794 return HasDef || LiveCPSR; in UpdateCPSRDef()
/external/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp924 bool HasDef = false; in UpdateCPSRDef() local
933 HasDef = true; in UpdateCPSRDef()
936 return HasDef || LiveCPSR; in UpdateCPSRDef()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DThumb2SizeReduction.cpp948 bool HasDef = false; in UpdateCPSRDef() local
957 HasDef = true; in UpdateCPSRDef()
960 return HasDef || LiveCPSR; in UpdateCPSRDef()
/external/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp724 bool HasDef = false; in isPredicable() local
728 if (HasDef) in isPredicable()
730 HasDef = true; in isPredicable()
DRDFLiveness.cpp391 auto HasDef = [&PhiDefs] (NodeAddr<DefNode*> DA) -> bool { in computePhiInfo() local
403 if (std::any_of(RDs.begin(), RDs.end(), HasDef)) in computePhiInfo()
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp311 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo() local
312 if (HasDef) { in lowerCallFromStatepointLoweringInfo()
DFastISel.cpp726 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
754 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
DSelectionDAGBuilder.cpp7323 bool HasDef = !CS->getType()->isVoidTy(); in visitPatchpoint() local
7357 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in visitPatchpoint()
7420 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
7439 if (HasDef) { in visitPatchpoint()
7450 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp728 bool HasDef = false; in isPredicable() local
732 if (HasDef) in isPredicable()
734 HasDef = true; in isPredicable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp338 bool HasDef = !SI.CLI.RetTy->isVoidTy(); in lowerCallFromStatepointLoweringInfo() local
339 if (HasDef) { in lowerCallFromStatepointLoweringInfo()
DFastISel.cpp902 bool HasDef = !I->getType()->isVoidTy(); in selectPatchpoint() local
930 if (IsAnyRegCC && HasDef) { in selectPatchpoint()
DSelectionDAGBuilder.cpp8092 bool HasDef = !CS->getType()->isVoidTy(); in visitPatchpoint() local
8126 if (HasDef && (CallEnd->getOpcode() == ISD::CopyFromReg)) in visitPatchpoint()
8189 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
8208 if (HasDef) { in visitPatchpoint()
8219 if (IsAnyRegCC && HasDef) { in visitPatchpoint()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DLiveIntervalAnalysis.h444 unsigned &NewVReg, unsigned ImpUse, bool &HasDef, bool &HasUse,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp4947 bool HasDef = MI.getDesc().getNumDefs(); in foldMemoryOperandImpl() local
4948 unsigned Reg0 = HasDef ? MI.getOperand(0).getReg() : 0; in foldMemoryOperandImpl()
4958 if ((HasDef && Reg0 == Reg1 && Tied1) || in foldMemoryOperandImpl()
4959 (HasDef && Reg0 == Reg2 && Tied2)) in foldMemoryOperandImpl()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp5842 bool HasDef = MI.getDesc().getNumDefs(); in foldMemoryOperandImpl() local
5843 unsigned Reg0 = HasDef ? MI.getOperand(0).getReg() : 0; in foldMemoryOperandImpl()
5853 if ((HasDef && Reg0 == Reg1 && Tied1) || in foldMemoryOperandImpl()
5854 (HasDef && Reg0 == Reg2 && Tied2)) in foldMemoryOperandImpl()