Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1064 assert(CondTy && "CondTy must exist");
1065 if (CondTy->isVectorTy())
1083 if (CondTy)
1084 CondTy = CondTy->getScalarType();
1460 Type *CondTy = RetTy->getWithNewBitWidth(1); in getIntrinsicInstrCost() local
1699 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local
1716 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local
1718 Type *OpTy = StructType::create({RetTy, CondTy}); in getTypeBasedIntrinsicInstrCost()
1739 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local
1741 Type *OpTy = StructType::create({RetTy, CondTy}); in getTypeBasedIntrinsicInstrCost()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFTargetTransformInfo.h47 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
54 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A 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,
H A 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-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h172 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
195 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A 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-13.1/contrib/llvm-project/llvm/tools/llvm-stress/
H A 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-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A 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()
H A 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-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp250 Type *CondTy, in getCmpSelInstrCost() argument
259 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
H A DHexagonTargetTransformInfo.h139 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h104 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A 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-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A 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-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h121 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DPPCTargetTransformInfo.cpp1032 Type *CondTy, in getCmpSelInstrCost() argument
1037 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3725 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()
3745 NarrowTy1 = CondTy.getElementType(); in fewerElementsVectorSelect()
3752 NumParts = CondTy.getNumElements(); in fewerElementsVectorSelect()
3766 if (CondTy.isVector()) in fewerElementsVectorSelect()
4816 const LLT CondTy = LLT::scalar(1); in narrowScalarShift() local
5498 LLT CondTy = MRI.getType(CondReg); in narrowScalarSelect() local
6503 const LLT CondTy = Ty.changeElementSize(1); in lowerIntrinsicRound() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h221 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
H A DAMDGPUTargetTransformInfo.cpp863 GCNTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument
871 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h217 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A 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-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A 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-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A 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-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A 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-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp7823 QualType CondTy = Cond->getType(); in checkCondition() local
7828 << CondTy << Cond->getSourceRange(); in checkCondition()
7833 if (CondTy->isScalarType()) return false; in checkCondition()
7836 << CondTy << Cond->getSourceRange(); in checkCondition()
8156 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors()
8173 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors()
8190 assert(CondTy); in checkOpenCLConditionVector()
8191 QualType EleTy = CondTy->getElementType(); in checkOpenCLConditionVector()
8213 << CondTy << VecResTy; in checkVectorResult()
8222 << CondTy << VecResTy; in checkVectorResult()
[all …]

12