Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp1576 Constant *TrueC = dyn_cast<Constant>(TrueVal); in visitSelectInst() local
1577 if (!TrueC) in visitSelectInst()
1578 TrueC = SimplifiedValues.lookup(TrueVal); in visitSelectInst()
1587 if (TrueC == FalseC && TrueC) { in visitSelectInst()
1588 SimplifiedValues[&SI] = TrueC; in visitSelectInst()
1618 if (TrueC && FalseC) { in visitSelectInst()
1619 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
DInstructionSimplify.cpp3981 if (auto *TrueC = dyn_cast<Constant>(TrueVal)) in SimplifySelectInst() local
3983 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp676 ConstantInt *TrueC = ConstantInt::getTrue(Ty->getContext()); in getTrue() local
678 return ConstantVector::getSplat(VTy->getNumElements(), TrueC); in getTrue()
679 return TrueC; in getTrue()
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelLowering.cpp721 ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(True); in performSELECTCombine() local
723 if (!TrueC || !True.getValueType().isInteger()) in performSELECTCombine()
732 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp37667 auto *TrueC = dyn_cast<ConstantSDNode>(LHS); in combineSelectOfTwoConstants() local
37669 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()
37687 const APInt &TrueVal = TrueC->getAPIntValue(); in combineSelectOfTwoConstants()
37704 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()
38696 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in combineCMov() local
38700 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov()
38702 std::swap(TrueC, FalseC); in combineCMov()
38709 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in combineCMov()
38713 Cond = DAG.getNode(ISD::ZERO_EXTEND, DL, TrueC->getValueType(0), Cond); in combineCMov()
38715 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in combineCMov()
[all …]