Searched refs:TrueC (Results 1 – 8 of 8) sorted by relevance
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 215 Constant *TrueC, *FalseC; in visitImpl() local 216 if (match(Sel->getTrueValue(), m_ImmConstant(TrueC)) && in visitImpl() 218 Constant *NegTrueC = ConstantExpr::getNeg(TrueC); in visitImpl()
|
| H A D | InstructionCombining.cpp | 2123 Constant *TrueC, *FalseC; in foldSelectGEP() local 2126 m_Select(m_Value(Cond), m_Constant(TrueC), m_Constant(FalseC)))) in foldSelectGEP() 2135 Value *NewTrueC = Builder.CreateGEP(Ty, TrueC, IndexC, "", IsInBounds); in foldSelectGEP()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 2366 Constant *TrueC = dyn_cast<Constant>(TrueVal); in visitSelectInst() local 2367 if (!TrueC) in visitSelectInst() 2368 TrueC = SimplifiedValues.lookup(TrueVal); in visitSelectInst() 2377 if (TrueC == FalseC && TrueC) { in visitSelectInst() 2378 SimplifiedValues[&SI] = TrueC; in visitSelectInst() 2408 if (TrueC && FalseC) { in visitSelectInst() 2409 if (auto *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) { in visitSelectInst()
|
| H A D | InstructionSimplify.cpp | 4772 if (auto *TrueC = dyn_cast<Constant>(TrueVal)) in simplifySelectInst() local 4774 if (Constant *C = ConstantFoldSelectInstruction(CondC, TrueC, FalseC)) in simplifySelectInst() 4898 Constant *TrueC, *FalseC; in simplifySelectInst() local 4900 match(TrueVal, m_Constant(TrueC)) && in simplifySelectInst() 4903 cast<FixedVectorType>(TrueC->getType())->getNumElements(); in simplifySelectInst() 4907 Constant *TEltC = TrueC->getAggregateElement(i); in simplifySelectInst()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 853 ConstantInt *TrueC = ConstantInt::getTrue(Ty->getContext()); in getTrue() local 855 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue() 856 return TrueC; in getTrue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsISelLowering.cpp | 715 ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(True); in performSELECTCombine() local 717 if (!TrueC || !True.getValueType().isInteger()) in performSELECTCombine() 726 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 44567 auto *TrueC = dyn_cast<ConstantSDNode>(LHS); in combineSelectOfTwoConstants() local 44569 if (!TrueC || !FalseC) in combineSelectOfTwoConstants() 44587 const APInt &TrueVal = TrueC->getAPIntValue(); in combineSelectOfTwoConstants() 44613 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants() 46151 if (ConstantSDNode *TrueC = dyn_cast<ConstantSDNode>(TrueOp)) { in combineCMov() local 46155 if (TrueC->getAPIntValue().ult(FalseC->getAPIntValue())) { in combineCMov() 46157 std::swap(TrueC, FalseC); in combineCMov() 46168 Cond = DAG.getNode(ISD::ZERO_EXTEND, DL, TrueC->getValueType(0), Cond); in combineCMov() 46170 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in combineCMov() 46178 if (FalseC->getAPIntValue()+1 == TrueC->getAPIntValue()) { in combineCMov() [all …]
|