/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFTargetTransformInfo.h | 47 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 54 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 1228 assert(CondTy && "CondTy must exist"); 1229 if (CondTy->isVectorTy()) 1249 if (CondTy) 1250 CondTy = CondTy->getScalarType(); 1689 Type *CondTy = RetTy->getWithNewBitWidth(1); in getIntrinsicInstrCost() local 2030 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local 2047 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local 2060 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local 2062 Type *OpTy = StructType::create({RetTy, CondTy}); in getTypeBasedIntrinsicInstrCost() 2082 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 625 Type *CondTy = Type::getInt1Ty(Context); in Act() local 631 CondTy = VectorType::get(CondTy, VTy->getElementCount()); in Act() 633 Value *Cond = getRandomValue(CondTy); in Act()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVTargetTransformInfo.cpp | 1063 Type *CondTy, in getCmpSelInstrCost() argument 1068 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 1072 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 1077 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 1082 if (CondTy->isVectorTy()) { in getCmpSelInstrCost() 1123 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 1142 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
H A D | RISCVTargetTransformInfo.h | 170 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonTargetTransformInfo.cpp | 272 Type *CondTy, in getCmpSelInstrCost() argument 283 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
H A D | HexagonTargetTransformInfo.h | 143 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.h | 107 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
H A D | SystemZTargetTransformInfo.cpp | 961 Type *CondTy, in getCmpSelInstrCost() argument 966 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost() 1042 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.h | 122 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
H A D | PPCTargetTransformInfo.cpp | 658 Type *CondTy, in getCmpSelInstrCost() argument 668 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 3746 const LLT CondTy = MRI.getType(CarryOut); in lower() local 3780 const LLT CondTy = MRI.getType(BorrowOut); in lower() local 5058 const LLT CondTy = LLT::scalar(1); in narrowScalarShift() local 5264 if (!CondTy.isScalar() || in moreElementsVector() 5277 if (CondTy.isVector()) in moreElementsVector() 5892 LLT CondTy = MRI.getType(CondReg); in narrowScalarSelect() local 5893 if (CondTy.isVector()) // TODO: Handle vselect in narrowScalarSelect() 6996 const LLT CondTy = Ty.changeElementSize(1); in lowerIntrinsicRound() local 7029 const LLT CondTy = Ty.changeElementSize(1); in lowerFFloor() local 7038 auto Lt0 = MIRBuilder.buildFCmp(CmpInst::FCMP_OLT, CondTy, in lowerFFloor() [all …]
|
H A D | CombinerHelper.cpp | 6357 LLT CondTy = MRI.getType(Select->getCondReg()); in tryFoldSelectOfConstants() local 6361 if (CondTy != LLT::scalar(1)) in tryFoldSelectOfConstants() 6398 Register Inner = MRI.createGenericVirtualRegister(CondTy); in tryFoldSelectOfConstants() 6409 Register Inner = MRI.createGenericVirtualRegister(CondTy); in tryFoldSelectOfConstants() 6466 Register Not = MRI.createGenericVirtualRegister(CondTy); in tryFoldSelectOfConstants() 6486 LLT CondTy = MRI.getType(Select->getCondReg()); in tryFoldBoolSelectToLogic() local 6490 if (CondTy.isScalableVector() || in tryFoldBoolSelectToLogic() 6491 (CondTy.isFixedVector() && in tryFoldBoolSelectToLogic() 6492 CondTy.getElementType().getScalarSizeInBits() != 1) || in tryFoldBoolSelectToLogic() 6493 CondTy.getScalarSizeInBits() != 1) in tryFoldBoolSelectToLogic() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfoImpl.h | 635 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 1284 Type *CondTy = Operands[0]->getType(); in getInstructionCost() local 1285 return TargetTTI->getCmpSelInstrCost(Opcode, U->getType(), CondTy, in getInstructionCost()
|
H A D | TargetTransformInfo.h | 1346 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 1991 Type *CondTy, 2621 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 2625 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.h | 157 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMTargetTransformInfo.h | 241 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
H A D | ARMTargetTransformInfo.cpp | 918 Type *CondTy, in getCmpSelInstrCost() argument 995 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost() 1003 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 1020 FixedVectorType *VecCondTy = dyn_cast_or_null<FixedVectorType>(CondTy); in getCmpSelInstrCost() 1061 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64TargetTransformInfo.h | 212 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 2945 llvm::Type *CondTy = Cond->getType(); in emitCondLikelihoodViaExpectIntrinsic() local 2946 assert(CondTy->isIntegerTy(1) && "expecting condition to be a boolean"); in emitCondLikelihoodViaExpectIntrinsic() 2948 CGM.getIntrinsic(llvm::Intrinsic::expect, CondTy); in emitCondLikelihoodViaExpectIntrinsic() 2950 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 971 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument 976 TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 6851 auto *CondTy = cast<IntegerType>(SI->getCondition()->getType()); in ReduceSwitchRange() local 6852 if (CondTy->getIntegerBitWidth() > 64 || in ReduceSwitchRange() 6853 !DL.fitsInLegalInteger(CondTy->getIntegerBitWidth())) in ReduceSwitchRange() 6940 auto *CondTy = cast<IntegerType>(Condition->getType()); in simplifySwitchOfPowersOfTwo() local 6942 if (CondTy->getIntegerBitWidth() > 64 || in simplifySwitchOfPowersOfTwo() 6943 !DL.fitsInLegalInteger(CondTy->getIntegerBitWidth())) in simplifySwitchOfPowersOfTwo() 6947 IntrinsicCostAttributes(Intrinsic::cttz, CondTy, in simplifySwitchOfPowersOfTwo() 6994 Intrinsic::cttz, {CondTy}, {Condition, ConstantInt::getTrue(Context)}); in simplifySwitchOfPowersOfTwo()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineVerifier.cpp | 1359 LLT CondTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local 1360 if (!SelTy.isValid() || !CondTy.isValid()) in verifyPreISelGenericInstruction() 1364 if (CondTy.isVector()) in verifyPreISelGenericInstruction() 1365 verifyVectorElementMatch(SelTy, CondTy, MI); in verifyPreISelGenericInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 880 Type *CondTy = SelectCond->getType(); in simplifyDivRemOfSelectWithZeroOp() local 894 replaceUse(Op, NonNullOperand == 1 ? ConstantInt::getTrue(CondTy) in simplifyDivRemOfSelectWithZeroOp() 895 : ConstantInt::getFalse(CondTy)); in simplifyDivRemOfSelectWithZeroOp()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 8733 QualType CondTy = Cond->getType(); in checkCondition() local 8738 << CondTy << Cond->getSourceRange(); in checkCondition() 8743 if (CondTy->isScalarType()) return false; in checkCondition() 8746 << CondTy << Cond->getSourceRange(); in checkCondition() 9051 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors() 9068 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors() 9085 assert(CondTy); in checkOpenCLConditionVector() 9086 QualType EleTy = CondTy->getElementType(); in checkOpenCLConditionVector() 9108 << CondTy << VecResTy; in checkVectorResult() 9117 << CondTy << VecResTy; in checkVectorResult() [all …]
|