Searched refs:ValAndVReg (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | Utils.cpp | 209 Optional<ValueAndVReg> ValAndVReg = in getConstantVRegVal() local 211 assert((!ValAndVReg || ValAndVReg->VReg == VReg) && in getConstantVRegVal() 213 if (!ValAndVReg) in getConstantVRegVal() 215 return ValAndVReg->Value; in getConstantVRegVal()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | Utils.cpp | 260 Optional<ValueAndVReg> ValAndVReg = in getConstantVRegVal() local 262 assert((!ValAndVReg || ValAndVReg->VReg == VReg) && in getConstantVRegVal() 264 if (!ValAndVReg) in getConstantVRegVal() 266 return ValAndVReg->Value; in getConstantVRegVal()
|
D | CombinerHelper.cpp | 2531 auto ValAndVReg = getConstantVRegValWithLookThrough(MOP.getReg(), MRI); in matchConstantOp() local 2532 return ValAndVReg && ValAndVReg->Value == C; in matchConstantOp()
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64PostLegalizerLowering.cpp | 438 auto ValAndVReg = getConstantVRegValWithLookThrough(RHS, MRI); in tryAdjustICmpImmAndPred() local 439 if (!ValAndVReg) in tryAdjustICmpImmAndPred() 441 uint64_t C = ValAndVReg->Value; in tryAdjustICmpImmAndPred()
|
D | AArch64InstructionSelector.cpp | 573 auto ValAndVReg = in getImmedFromMO() local 575 if (!ValAndVReg) in getImmedFromMO() 577 Immed = ValAndVReg->Value; in getImmedFromMO() 4118 if (auto ValAndVReg = getConstantVRegValWithLookThrough(RHS.getReg(), MRI)) { in emitTST() local 4119 if (AArch64_AM::isLogicalImmediate(ValAndVReg->Value, RegSize)) { in emitTST() 4122 AArch64_AM::encodeLogicalImmediate(ValAndVReg->Value, RegSize)); in emitTST() 4458 auto ValAndVReg = in tryFoldIntegerCompare() local 4460 if (!ValAndVReg || ValAndVReg->Value != 0) in tryFoldIntegerCompare() 4508 auto ValAndVReg = getConstantVRegValWithLookThrough(RHS.getReg(), MRI); in tryFoldIntegerCompare() local 4509 if (!ValAndVReg || ValAndVReg->Value != 0) in tryFoldIntegerCompare() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64InstructionSelector.cpp | 3303 auto ValAndVReg = getConstantVRegValWithLookThrough(RHS, MRI); in emitTST() local 3304 bool IsImmForm = ValAndVReg.hasValue() && in emitTST() 3305 AArch64_AM::isLogicalImmediate(ValAndVReg->Value, RegSize); in emitTST() 3311 AArch64_AM::encodeLogicalImmediate(ValAndVReg->Value, RegSize)); in emitTST() 3602 auto ValAndVReg = in tryFoldIntegerCompare() local 3604 if (!ValAndVReg || ValAndVReg->Value != 0) in tryFoldIntegerCompare() 3652 auto ValAndVReg = getConstantVRegValWithLookThrough(RHS.getReg(), MRI); in tryFoldIntegerCompare() local 3653 if (!ValAndVReg || ValAndVReg->Value != 0) in tryFoldIntegerCompare() 4147 auto ValAndVReg = in getImmedFromMO() local 4149 if (!ValAndVReg) in getImmedFromMO() [all …]
|