Searched refs:CondTy (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h836 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, argument
844 assert(CondTy && "CondTy must exist");
845 if (CondTy->isVectorTy())
862 if (CondTy)
863 CondTy = CondTy->getScalarType();
865 Opcode, ValTy->getScalarType(), CondTy, I);
1164 Type *CondTy = RetTy->getWithNewBitWidth(1); local
1166 CondTy, nullpt
1338 Type *CondTy = RetTy->getWithNewBitWidth(1); local
1358 Type *CondTy = RetTy->getWithNewBitWidth(1); local
1656 getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwise, bool) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h133 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
157 int getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwiseForm,
H A DX86TargetTransformInfo.cpp1703 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, argument
1881 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
2759 int X86TTIImpl::getMinMaxReductionCost(Type *ValTy, Type *CondTy, argument
2986 return BaseT::getMinMaxReductionCost(ValTy, CondTy, IsPairwise, IsUnsigned);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.h128 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DHexagonTargetTransformInfo.cpp230 Type *CondTy, const Instruction *I) {
236 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
229 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, const Instruction *I) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DSystemZTargetTransformInfo.cpp808 Type *CondTy, const Instruction *I) {
884 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, nullptr);
807 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, const Instruction *I) argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h100 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DPPCTargetTransformInfo.cpp770 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, argument
772 int Cost = BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp636 Type *CondTy, const Instruction *I) const {
639 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
740 int TargetTransformInfo::getMinMaxReductionCost(Type *Ty, Type *CondTy, argument
744 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned);
1202 Type *CondTy = SI->getCondition()->getType(); local
1203 return getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy, I);
635 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, const Instruction *I) const argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h941 Type *CondTy = nullptr, const Instruction *I = nullptr) const;
997 int getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwiseForm,
1328 Type *CondTy, const Instruction *I) = 0;
1348 virtual int getMinMaxReductionCost(Type *Ty, Type *CondTy,
1739 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
1741 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
1772 int getMinMaxReductionCost(Type *Ty, Type *CondTy,
1774 return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned);
H A DTargetTransformInfoImpl.h457 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, argument
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h199 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DARMTargetTransformInfo.cpp447 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, argument
459 EVT SelCondTy = TLI->getValueType(DL, CondTy);
475 return BaseCost * BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h227 int getMinMaxReductionCost(Type *Ty, Type *CondTy,
H A DAMDGPUTargetTransformInfo.cpp535 int GCNTTIImpl::getMinMaxReductionCost(Type *Ty, Type *CondTy, argument
545 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsPairwise, IsUnsigned);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h133 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DAArch64TargetTransformInfo.cpp599 Type *CondTy, const Instruction *I) {
617 EVT SelCondTy = TLI->getValueType(DL, CondTy);
626 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I);
598 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, const Instruction *I) argument
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp625 Type *CondTy = Type::getInt1Ty(Context); variable
631 CondTy = VectorType::get(CondTy, NumElem);
634 Value *Cond = getRandomValue(CondTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp2668 LLT CondTy = MRI.getType(CondReg); local
2671 assert(TypeIdx == 0 || CondTy.isVector());
2675 NarrowTy1 = CondTy;
2686 if (CondTy.isVector()) {
2687 if (CondTy.getNumElements() == NumParts)
2688 NarrowTy1 = CondTy.getElementType();
2690 NarrowTy1 = LLT::vector(CondTy.getNumElements() / NumParts,
2691 CondTy.getScalarSizeInBits());
2694 NumParts = CondTy.getNumElements();
2697 if (NumParts * NarrowTy.getNumElements() != CondTy
3199 const LLT CondTy = LLT::scalar(1); local
3684 LLT CondTy = MRI.getType(CondReg); local
4142 const LLT CondTy = Ty.changeElementSize(1); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp611 Type *CondTy = SelectCond->getType(); local
626 *I = NonNullOperand == 1 ? ConstantInt::getTrue(CondTy)
627 : ConstantInt::getFalse(CondTy);
H A DInstCombineCasts.cpp2170 Type *CondTy = Cond->getType();
2172 if (CondTy->isVectorTy()) {
2175 if (DestTy->getVectorNumElements() != CondTy->getVectorNumElements())
H A DInstCombineSelect.cpp296 Type *CondTy = Cond->getType(); local
304 if (CondTy->isVectorTy()) {
307 if (CondTy->getVectorNumElements() != FIOpndTy->getVectorNumElements())
389 if (CondTy->isVectorTy() && (!OtherOpT->getType()->isVectorTy() ||
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1160 LLT CondTy = MRI->getType(MI->getOperand(1).getReg()); local
1161 if (!SelTy.isValid() || !CondTy.isValid())
1165 if (CondTy.isVector())
1166 verifyVectorElementMatch(SelTy, CondTy, MI);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp6994 QualType CondTy = Cond->getType(); local
6997 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) {
6999 << CondTy << Cond->getSourceRange();
7004 if (CondTy->isScalarType()) return false;
7007 << CondTy << Cond->getSourceRange();
7323 QualType CondTy, SourceLocation QuestionLoc) {
7327 const VectorType *CV = CondTy->getAs<VectorType>();
7344 << CondTy << OS.str();
7360 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); local
7361 assert(CondTy);
7322 OpenCLConvertScalarsToVectors(Sema &S, ExprResult &LHS, ExprResult &RHS, QualType CondTy, SourceLocation QuestionLoc) argument
7376 checkVectorResult(Sema &S, QualType CondTy, QualType VecResTy, SourceLocation QuestionLoc) argument
[all...]

Completed in 279 milliseconds

12