Home
last modified time | relevance | path

Searched refs:TrueC (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp12788 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(LHS)) { in PerformSELECTCombine() local
12796 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue()) && in PerformSELECTCombine()
12802 std::swap(TrueC, FalseC); in PerformSELECTCombine()
12807 TrueC->getAPIntValue().isPowerOf2()) { in PerformSELECTCombine()
12815 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in PerformSELECTCombine()
12821 if (FalseC->getAPIntValue()+1 == TrueC->getAPIntValue()) { in PerformSELECTCombine()
12836 uint64_t Diff = TrueC->getZExtValue()-FalseC->getZExtValue(); in PerformSELECTCombine()
12856 APInt Diff = TrueC->getAPIntValue()-FalseC->getAPIntValue(); in PerformSELECTCombine()
12909 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in PerformCMOVCombine() local
12913 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in PerformCMOVCombine()
[all …]
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp621 ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(True); in performSELECTCombine() local
623 if (!TrueC || !True.getValueType().isInteger()) in performSELECTCombine()
632 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp26611 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(LHS)) { in combineSelect() local
26619 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue()) && in combineSelect()
26625 std::swap(TrueC, FalseC); in combineSelect()
26630 TrueC->getAPIntValue().isPowerOf2()) { in combineSelect()
26638 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in combineSelect()
26644 if (FalseC->getAPIntValue()+1 == TrueC->getAPIntValue()) { in combineSelect()
26659 uint64_t Diff = TrueC->getZExtValue()-FalseC->getZExtValue(); in combineSelect()
26679 APInt Diff = TrueC->getAPIntValue()-FalseC->getAPIntValue(); in combineSelect()
27222 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in combineCMov() local
27226 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2436 auto *TrueC = dyn_cast<ConstantSDNode>(TrueOp); in lowerSELECT_CC() local
2438 if (TrueC && FalseC) { in lowerSELECT_CC()
2439 int64_t TrueVal = TrueC->getSExtValue(); in lowerSELECT_CC()