Searched refs:TrueC (Results 1 – 9 of 9) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| H A D | MatchConsumer.h | 47 MatchConsumer<T> ifBound(std::string ID, MatchConsumer<T> TrueC, in ifBound() argument 51 return (Map.find(ID) != Map.end() ? TrueC : FalseC)(Result); in ifBound()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 211 Constant *TrueC, *FalseC; in visitImpl() local 212 if (match(Sel->getTrueValue(), m_ImmConstant(TrueC)) && in visitImpl() 214 Constant *NegTrueC = ConstantExpr::getNeg(TrueC); in visitImpl()
|
| H A D | InstructionCombining.cpp | 2570 Constant *TrueC, *FalseC; in foldSelectGEP() local 2573 m_Select(m_Value(Cond), m_Constant(TrueC), m_Constant(FalseC)))) in foldSelectGEP() 2582 Value *NewTrueC = Builder.CreateGEP(Ty, TrueC, IndexC, "", NW); in foldSelectGEP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 2576 Constant *TrueC = getDirectOrSimplifiedValue<Constant>(TrueVal); in visitSelectInst() local 2582 if (TrueC == FalseC && TrueC) { in visitSelectInst() 2583 SimplifiedValues[&SI] = TrueC; in visitSelectInst() 2613 if (TrueC && FalseC) { in visitSelectInst() 2614 if (auto *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) { in visitSelectInst()
|
| H A D | LazyValueInfo.cpp | 947 Constant *TrueC = dyn_cast<Constant>(Y->getTrueValue()); in solveBlockValueBinaryOpImpl() local 948 if (!TrueC) in solveBlockValueBinaryOpImpl() 964 ConstantRange TrueY = TrueC->toConstantRange(); in solveBlockValueBinaryOpImpl()
|
| H A D | InstructionSimplify.cpp | 4824 if (auto *TrueC = dyn_cast<Constant>(TrueVal)) in simplifySelectInst() local 4826 if (Constant *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) in simplifySelectInst() 4950 Constant *TrueC, *FalseC; in simplifySelectInst() local 4952 match(TrueVal, m_Constant(TrueC)) && in simplifySelectInst() 4955 cast<FixedVectorType>(TrueC->getType())->getNumElements(); in simplifySelectInst() 4959 Constant *TEltC = TrueC->getAggregateElement(i); in simplifySelectInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 888 ConstantInt *TrueC = ConstantInt::getTrue(Ty->getContext()); in getTrue() local 890 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue() 891 return TrueC; in getTrue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsISelLowering.cpp | 740 ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(True); in performSELECTCombine() local 742 if (!TrueC || !True.getValueType().isInteger()) in performSELECTCombine() 751 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 47332 auto *TrueC = dyn_cast<ConstantSDNode>(LHS); in combineSelectOfTwoConstants() local 47334 if (!TrueC || !FalseC) in combineSelectOfTwoConstants() 47352 const APInt &TrueVal = TrueC->getAPIntValue(); in combineSelectOfTwoConstants() 47378 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants() 49033 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in combineCMov() local 49037 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov() 49039 std::swap(TrueC, FalseC); in combineCMov() 49046 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) { in combineCMov() 49050 Cond = DAG.getNode(ISD::ZERO_EXTEND, DL, TrueC->getValueType(0), Cond); in combineCMov() 49052 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in combineCMov() [all …]
|