Home
last modified time | relevance | path

Searched refs:CondTy (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1049 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
1059 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind,
1064 assert(CondTy && "CondTy must exist");
1065 if (CondTy->isVectorTy())
1083 if (CondTy)
1084 CondTy = CondTy->getScalarType();
1086 Opcode, ValVTy->getScalarType(), CondTy, VecPred, CostKind, I);
1460 Type *CondTy = RetTy->getWithNewBitWidth(1); in getIntrinsicInstrCost() local
1462 thisT()->getCmpSelInstrCost(BinaryOperator::ICmp, RetTy, CondTy, in getIntrinsicInstrCost()
1465 thisT()->getCmpSelInstrCost(BinaryOperator::Select, RetTy, CondTy, in getIntrinsicInstrCost()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/BPF/
DBPFTargetTransformInfo.h47 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
54 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/
DX86TargetTransformInfo.h138 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
187 InstructionCost getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned);
189 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
DX86TargetTransformInfo.cpp2350 Type *CondTy, in getCmpSelInstrCost() argument
2356 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost()
2541 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
3997 InstructionCost X86TTIImpl::getMinMaxCost(Type *Ty, Type *CondTy, in getMinMaxCost() argument
4118 getCmpSelInstrCost(CmpOpcode, Ty, CondTy, CmpInst::BAD_ICMP_PREDICATE, in getMinMaxCost()
4120 getCmpSelInstrCost(Instruction::Select, Ty, CondTy, in getMinMaxCost()
4126 X86TTIImpl::getMinMaxReductionCost(VectorType *ValTy, VectorType *CondTy, in getMinMaxReductionCost() argument
4215 auto *SubCondTy = FixedVectorType::get(CondTy->getElementType(), in getMinMaxReductionCost()
4244 return BaseT::getMinMaxReductionCost(ValTy, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
4290 FixedVectorType::get(CondTy->getElementType(), Ty->getNumElements()); in getMinMaxReductionCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h172 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
195 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
DAArch64TargetTransformInfo.cpp1427 Type *CondTy, in getCmpSelInstrCost() argument
1433 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost()
1472 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost()
1483 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
1902 AArch64TTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument
1906 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
1907 assert((isa<ScalableVectorType>(Ty) && isa<ScalableVectorType>(CondTy)) && in getMinMaxReductionCost()
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-stress/
Dllvm-stress.cpp635 Type *CondTy = Type::getInt1Ty(Context); in Act() local
642 CondTy = FixedVectorType::get(CondTy, NumElem); in Act()
645 Value *Cond = getRandomValue(CondTy); in Act()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfo.h1097 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy = nullptr,
1184 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
1620 Type *CondTy,
1650 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
2108 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
2112 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
2154 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument
2156 return Impl.getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
DTargetTransformInfoImpl.h530 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
1048 Type *CondTy = U->getOperand(0)->getType(); in getUserCost() local
1049 return TargetTTI->getCmpSelInstrCost(Opcode, U->getType(), CondTy, in getUserCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp250 Type *CondTy, in getCmpSelInstrCost() argument
259 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
DHexagonTargetTransformInfo.h139 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.h104 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
DSystemZTargetTransformInfo.cpp873 Type *CondTy, in getCmpSelInstrCost() argument
878 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost()
954 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp799 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument
804 TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
902 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument
905 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.h121 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
DPPCTargetTransformInfo.cpp1032 Type *CondTy, in getCmpSelInstrCost() argument
1037 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp3317 const LLT CondTy = MRI.getType(BorrowOut); in lower() local
3324 auto LHS_EQ_RHS = MIRBuilder.buildICmp(CmpInst::ICMP_EQ, CondTy, LHS, RHS); in lower()
3325 auto LHS_ULT_RHS = MIRBuilder.buildICmp(CmpInst::ICMP_ULT, CondTy, LHS, RHS); in lower()
3725 LLT CondTy = MRI.getType(CondReg); in fewerElementsVectorSelect() local
3728 assert(TypeIdx == 0 || CondTy.isVector()); in fewerElementsVectorSelect()
3732 NarrowTy1 = CondTy; in fewerElementsVectorSelect()
3743 if (CondTy.isVector()) { in fewerElementsVectorSelect()
3744 if (CondTy.getNumElements() == NumParts) in fewerElementsVectorSelect()
3745 NarrowTy1 = CondTy.getElementType(); in fewerElementsVectorSelect()
3748 LLT::vector(CondTy.getElementCount().divideCoefficientBy(NumParts), in fewerElementsVectorSelect()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.h221 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
DAMDGPUTargetTransformInfo.cpp863 GCNTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument
871 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h217 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
DARMTargetTransformInfo.cpp842 Type *CondTy, in getCmpSelInstrCost() argument
919 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost()
927 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost()
945 FixedVectorType *VecCondTy = dyn_cast_or_null<FixedVectorType>(CondTy); in getCmpSelInstrCost()
984 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCodeGenFunction.cpp2684 llvm::Type *CondTy = Cond->getType(); in emitCondLikelihoodViaExpectIntrinsic() local
2685 assert(CondTy->isIntegerTy(1) && "expecting condition to be a boolean"); in emitCondLikelihoodViaExpectIntrinsic()
2687 CGM.getIntrinsic(llvm::Intrinsic::expect, CondTy); in emitCondLikelihoodViaExpectIntrinsic()
2689 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp661 Type *CondTy = SelectCond->getType(); in simplifyDivRemOfSelectWithZeroOp() local
675 replaceUse(Op, NonNullOperand == 1 ? ConstantInt::getTrue(CondTy) in simplifyDivRemOfSelectWithZeroOp()
676 : ConstantInt::getFalse(CondTy)); in simplifyDivRemOfSelectWithZeroOp()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DMachineVerifier.cpp1191 LLT CondTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1192 if (!SelTy.isValid() || !CondTy.isValid()) in verifyPreISelGenericInstruction()
1196 if (CondTy.isVector()) in verifyPreISelGenericInstruction()
1197 verifyVectorElementMatch(SelTy, CondTy, MI); in verifyPreISelGenericInstruction()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaExpr.cpp7823 QualType CondTy = Cond->getType(); in checkCondition() local
7826 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) { in checkCondition()
7828 << CondTy << Cond->getSourceRange(); in checkCondition()
7833 if (CondTy->isScalarType()) return false; in checkCondition()
7836 << CondTy << Cond->getSourceRange(); in checkCondition()
8152 QualType CondTy, SourceLocation QuestionLoc) { in OpenCLConvertScalarsToVectors() argument
8156 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors()
8173 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors()
8189 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); in checkOpenCLConditionVector() local
8190 assert(CondTy); in checkOpenCLConditionVector()
[all …]

12