Home
last modified time | relevance | path

Searched refs:FalseC (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DMatchConsumer.h48 MatchConsumer<T> FalseC) { in ifBound() argument
51 return (Map.find(ID) != Map.end() ? TrueC : FalseC)(Result); in ifBound()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineCost.cpp2138 Constant *FalseC = dyn_cast<Constant>(FalseVal); in visitSelectInst() local
2139 if (!FalseC) in visitSelectInst()
2140 FalseC = SimplifiedValues.lookup(FalseVal); in visitSelectInst()
2146 if (TrueC == FalseC && TrueC) { in visitSelectInst()
2177 if (TrueC && FalseC) { in visitSelectInst()
2178 if (auto *C = ConstantExpr::getSelect(CondC, TrueC, FalseC)) { in visitSelectInst()
H A DInstructionSimplify.cpp4208 if (auto *FalseC = dyn_cast<Constant>(FalseVal)) in SimplifySelectInst() local
4209 return ConstantFoldSelectInstruction(CondC, TrueC, FalseC); in SimplifySelectInst()
4259 Constant *TrueC, *FalseC; in SimplifySelectInst() local
4262 match(FalseVal, m_Constant(FalseC))) { in SimplifySelectInst()
4269 Constant *FEltC = FalseC->getAggregateElement(i); in SimplifySelectInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp692 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(False); in performSELECTCombine() local
701 if (!FalseC) in performSELECTCombine()
706 if (!FalseC->getZExtValue()) { in performSELECTCombine()
731 int64_t Diff = TrueC->getSExtValue() - FalseC->getSExtValue(); in performSELECTCombine()
763 ConstantSDNode *FalseC = dyn_cast<ConstantSDNode>(ValueIfFalse); in performCMovFPCombine() local
764 if (!FalseC || FalseC->getZExtValue()) in performCMovFPCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1875 Constant *TrueC, *FalseC; in foldSelectGEP() local
1878 m_Select(m_Value(Cond), m_Constant(TrueC), m_Constant(FalseC)))) in foldSelectGEP()
1889 Value *NewFalseC = IsInBounds ? Builder.CreateInBoundsGEP(Ty, FalseC, IndexC) in foldSelectGEP()
1890 : Builder.CreateGEP(Ty, FalseC, IndexC); in foldSelectGEP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp877 ConstantInt *FalseC = ConstantInt::getFalse(Ty->getContext()); in getFalse() local
879 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse()
880 return FalseC; in getFalse()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp41537 auto *FalseC = dyn_cast<ConstantSDNode>(RHS); in combineSelectOfTwoConstants() local
41538 if (!TrueC || !FalseC) in combineSelectOfTwoConstants()
41557 const APInt &FalseVal = FalseC->getAPIntValue(); in combineSelectOfTwoConstants()
41573 std::swap(TrueC, FalseC); in combineSelectOfTwoConstants()
41584 if (!FalseC->isNullValue()) in combineSelectOfTwoConstants()
41585 R = DAG.getNode(ISD::ADD, DL, VT, R, SDValue(FalseC, 0)); in combineSelectOfTwoConstants()
42915 std::swap(TrueC, FalseC); in combineCMov()
42941 FalseC->getValueType(0), Cond); in combineCMov()
42943 SDValue(FalseC, 0)); in combineCMov()
42981 if (FalseC->getAPIntValue() != 0) in combineCMov()
[all …]