Home
last modified time | relevance | path

Searched refs:makeCmpResultType (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCmpInstAnalysis.cpp45 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); in getPredForICmpCode()
53 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1); in getPredForICmpCode()
70 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 0); in getPredForFCmpCode()
72 return ConstantInt::get(CmpInst::makeCmpResultType(OpTy), 1); in getPredForFCmpCode()
H A DLazyValueInfo.cpp1869 Type *ResTy = CmpInst::makeCmpResultType(C->getType()); in getPredicateResult()
1926 Type *ResTy = CmpInst::makeCmpResultType(C->getType()); in getPredicateAt()
2043 Type *Ty = CmpInst::makeCmpResultType(LHS->getType()); in getPredicateAt()
H A DInstructionSimplify.cpp2568 return CmpInst::makeCmpResultType(Op->getType()); in getCompareTy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp454 Opcode, ScalarTy, CmpInst::makeCmpResultType(ScalarTy), Pred, CostKind); in isExtractExtractCheap()
456 Opcode, VecTy, CmpInst::makeCmpResultType(VecTy), Pred, CostKind); in isExtractExtractCheap()
1169 Opcode, ScalarTy, CmpInst::makeCmpResultType(ScalarTy), Pred, CostKind); in scalarizeOpOrCmp()
1171 Opcode, VecTy, CmpInst::makeCmpResultType(VecTy), Pred, CostKind); in scalarizeOpOrCmp()
1313 CmpOpcode, I0->getType(), CmpInst::makeCmpResultType(I0->getType()), Pred, in foldExtractedCmps()
1325 auto *CmpTy = cast<FixedVectorType>(CmpInst::makeCmpResultType(VecTy)); in foldExtractedCmps()
1327 CmpOpcode, VecTy, CmpInst::makeCmpResultType(VecTy), Pred, CostKind); in foldExtractedCmps()
H A DVPlanRecipes.cpp2008 Opcode, VectorTy, CmpInst::makeCmpResultType(VectorTy), getPredicate(), in computeCost()
H A DSLPVectorizer.cpp21823 if (UseSelect && OpTy == CmpInst::makeCmpResultType(OpTy)) in createOp()
21825 LHS, ConstantInt::getAllOnesValue(CmpInst::makeCmpResultType(OpTy)), in createOp()
21832 if (UseSelect && OpTy == CmpInst::makeCmpResultType(OpTy)) in createOp()
21835 ConstantInt::getNullValue(CmpInst::makeCmpResultType(OpTy)), Name); in createOp()
H A DLoopVectorize.cpp6247 I->getOpcode(), VectorTy, CmpInst::makeCmpResultType(VectorTy), in getInstructionCost()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h1206 : CmpInst(makeCmpResultType(LHS->getType()), Instruction::ICmp, pred, LHS,
1219 ) : CmpInst(makeCmpResultType(LHS->getType()),
1435 : CmpInst(makeCmpResultType(LHS->getType()), Instruction::FCmp, pred, LHS,
1446 : CmpInst(makeCmpResultType(LHS->getType()), Instruction::FCmp, Pred, LHS,
H A DInstrTypes.h984 static Type* makeCmpResultType(Type* opnd_type) {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp3194 return Builder.CreateTrunc(A, CmpInst::makeCmpResultType(A->getType())); in getSelectCondition()
3208 return Builder.CreateZExtOrTrunc(A, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
3243 AConst = ConstantExpr::getTrunc(AConst, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
H A DInstCombineMulDivRem.cpp532 Value *Tr = Builder.CreateTrunc(X, CmpInst::makeCmpResultType(Ty)); in visitMul()
H A DInstCombineCompares.cpp772 CmpInst::makeCmpResultType(BaseType) == I.getType() && CanFold(NW)) in foldGEPICmp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp1466 CmpInst::makeCmpResultType(Cmp->getType()), IsTrue); in checkAndReplaceCondition()
H A DGVN.cpp384 E.Ty = CmpInst::makeCmpResultType(LHS->getType()); in createCmpExpr()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp951 Type *CmpInst::makeCmpResultType(Type *OpndType) { in makeCmpResultType() function in llvm::sandboxir::CmpInst
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp1874 Opcode, OpType, CmpInst::makeCmpResultType(OpType), in costAndCollectOperands()
H A DSimplifyCFG.cpp3071 CmpInst::makeCmpResultType(PN.getType()), in validateAndCostRequiredSelects()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DInstruction.h2537 LLVM_ABI static Type *makeCmpResultType(Type *OpndType);
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h3030 CmpInst::makeCmpResultType(ValTy), in getTreeReductionCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1045 VecCondTy = cast<FixedVectorType>(CmpInst::makeCmpResultType(VecValTy)); in getCmpSelInstrCost()