| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 1018 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 1028 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, 1033 assert(CondTy && "CondTy must exist"); 1034 if (CondTy->isVectorTy()) 1052 if (CondTy) 1053 CondTy = CondTy->getScalarType(); 1055 Opcode, ValVTy->getScalarType(), CondTy, VecPred, CostKind, I); 1423 Type *CondTy = RetTy->getWithNewBitWidth(1); in getIntrinsicInstrCost() local 1425 thisT()->getCmpSelInstrCost(BinaryOperator::ICmp, RetTy, CondTy, in getIntrinsicInstrCost() 1428 thisT()->getCmpSelInstrCost(BinaryOperator::Select, RetTy, CondTy, in getIntrinsicInstrCost() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 137 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 186 InstructionCost getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned); 188 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
|
| H A D | X86TargetTransformInfo.cpp | 2160 Type *CondTy, in getCmpSelInstrCost() argument 2166 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 2351 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 3775 InstructionCost X86TTIImpl::getMinMaxCost(Type *Ty, Type *CondTy, in getMinMaxCost() argument 3896 getCmpSelInstrCost(CmpOpcode, Ty, CondTy, CmpInst::BAD_ICMP_PREDICATE, in getMinMaxCost() 3898 getCmpSelInstrCost(Instruction::Select, Ty, CondTy, in getMinMaxCost() 3904 X86TTIImpl::getMinMaxReductionCost(VectorType *ValTy, VectorType *CondTy, in getMinMaxReductionCost() argument 3909 return BaseT::getMinMaxReductionCost(ValTy, CondTy, IsPairwise, IsUnsigned, in getMinMaxReductionCost() 3998 auto *SubCondTy = FixedVectorType::get(CondTy->getElementType(), in getMinMaxReductionCost() 4027 return BaseT::getMinMaxReductionCost(ValTy, CondTy, IsPairwise, IsUnsigned, in getMinMaxReductionCost() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 160 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, 182 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | AArch64TargetTransformInfo.cpp | 1098 Type *CondTy, in getCmpSelInstrCost() argument 1104 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 1143 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 1154 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 1552 AArch64TTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument 1556 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsPairwise, IsUnsigned, in getMinMaxReductionCost() 1558 assert((isa<ScalableVectorType>(Ty) && isa<ScalableVectorType>(CondTy)) && in getMinMaxReductionCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 631 Type *CondTy = Type::getInt1Ty(Context); in Act() local 638 CondTy = FixedVectorType::get(CondTy, NumElem); in Act() 641 Value *Cond = getRandomValue(CondTy); in Act()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 1128 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy = nullptr, 1198 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned, 1631 Type *CondTy, 1661 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, 2119 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 2123 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 2166 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument 2169 return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned, in getMinMaxReductionCost()
|
| H A D | TargetTransformInfoImpl.h | 530 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 1045 Type *CondTy = U->getOperand(0)->getType(); in getUserCost() local 1046 return TargetTTI->getCmpSelInstrCost(Opcode, U->getType(), CondTy, in getUserCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 250 Type *CondTy, in getCmpSelInstrCost() argument 259 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| H A D | HexagonTargetTransformInfo.h | 139 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.h | 104 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | SystemZTargetTransformInfo.cpp | 873 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 3098 const LLT CondTy = MRI.getType(BorrowOut); in lower() local 3105 auto LHS_EQ_RHS = MIRBuilder.buildICmp(CmpInst::ICMP_EQ, CondTy, LHS, RHS); in lower() 3106 auto LHS_ULT_RHS = MIRBuilder.buildICmp(CmpInst::ICMP_ULT, CondTy, LHS, RHS); in lower() 3521 LLT CondTy = MRI.getType(CondReg); in fewerElementsVectorSelect() local 3524 assert(TypeIdx == 0 || CondTy.isVector()); in fewerElementsVectorSelect() 3528 NarrowTy1 = CondTy; in fewerElementsVectorSelect() 3539 if (CondTy.isVector()) { in fewerElementsVectorSelect() 3540 if (CondTy.getNumElements() == NumParts) in fewerElementsVectorSelect() 3541 NarrowTy1 = CondTy.getElementType(); in fewerElementsVectorSelect() 3543 NarrowTy1 = LLT::vector(CondTy.getNumElements() / NumParts, in fewerElementsVectorSelect() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.h | 121 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | PPCTargetTransformInfo.cpp | 1029 Type *CondTy, in getCmpSelInstrCost() argument 1034 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 802 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument 807 TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 905 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned, in getMinMaxReductionCost() argument 908 Ty, CondTy, IsPairwiseForm, IsUnsigned, CostKind); in getMinMaxReductionCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.h | 221 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned,
|
| H A D | AMDGPUTargetTransformInfo.cpp | 865 GCNTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument 875 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsPairwise, IsUnsigned, in getMinMaxReductionCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 217 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | ARMTargetTransformInfo.cpp | 837 Type *CondTy, in getCmpSelInstrCost() argument 914 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost() 922 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 940 FixedVectorType *VecCondTy = dyn_cast_or_null<FixedVectorType>(CondTy); in getCmpSelInstrCost() 979 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 2670 llvm::Type *CondTy = Cond->getType(); in emitCondLikelihoodViaExpectIntrinsic() local 2671 assert(CondTy->isIntegerTy(1) && "expecting condition to be a boolean"); in emitCondLikelihoodViaExpectIntrinsic() 2673 CGM.getIntrinsic(llvm::Intrinsic::expect, CondTy); in emitCondLikelihoodViaExpectIntrinsic() 2675 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 655 Type *CondTy = SelectCond->getType(); in simplifyDivRemOfSelectWithZeroOp() local 669 replaceUse(Op, NonNullOperand == 1 ? ConstantInt::getTrue(CondTy) in simplifyDivRemOfSelectWithZeroOp() 670 : ConstantInt::getFalse(CondTy)); in simplifyDivRemOfSelectWithZeroOp()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | MachineVerifier.cpp | 1191 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 7759 QualType CondTy = Cond->getType(); in checkCondition() local 7762 if (S.getLangOpts().OpenCL && CondTy->isFloatingType()) { in checkCondition() 7764 << CondTy << Cond->getSourceRange(); in checkCondition() 7769 if (CondTy->isScalarType()) return false; in checkCondition() 7772 << CondTy << Cond->getSourceRange(); in checkCondition() 8088 QualType CondTy, SourceLocation QuestionLoc) { in OpenCLConvertScalarsToVectors() argument 8092 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors() 8109 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors() 8125 const VectorType *CondTy = Cond->getType()->getAs<VectorType>(); in checkOpenCLConditionVector() local 8126 assert(CondTy); in checkOpenCLConditionVector() [all …]
|