| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 1167 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 1177 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, 1182 assert(CondTy && "CondTy must exist"); 1183 if (CondTy->isVectorTy()) 1203 if (CondTy) 1204 CondTy = CondTy->getScalarType(); 1206 Opcode, ValVTy->getScalarType(), CondTy, VecPred, CostKind, I); 1641 Type *CondTy = RetTy->getWithNewBitWidth(1); in getIntrinsicInstrCost() local 1643 thisT()->getCmpSelInstrCost(BinaryOperator::ICmp, RetTy, CondTy, in getIntrinsicInstrCost() 1646 thisT()->getCmpSelInstrCost(BinaryOperator::Select, RetTy, CondTy, in getIntrinsicInstrCost() [all …]
|
| /openbsd-src/gnu/llvm/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,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 146 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 199 InstructionCost getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned); 201 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
|
| H A D | X86TargetTransformInfo.cpp | 3029 Type *CondTy, in getCmpSelInstrCost() argument 3035 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 3093 if (CondTy && !ST->hasAVX()) in getCmpSelInstrCost() 3094 return getCmpSelInstrCost(Opcode, ValTy, CondTy, in getCmpSelInstrCost() 3096 getCmpSelInstrCost(Opcode, ValTy, CondTy, in getCmpSelInstrCost() 3098 getArithmeticInstrCost(Instruction::Or, CondTy, CostKind); in getCmpSelInstrCost() 3317 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 5181 InstructionCost X86TTIImpl::getMinMaxCost(Type *Ty, Type *CondTy, in getMinMaxCost() argument 5302 getCmpSelInstrCost(CmpOpcode, Ty, CondTy, CmpInst::BAD_ICMP_PREDICATE, in getMinMaxCost() 5304 getCmpSelInstrCost(Instruction::Select, Ty, CondTy, in getMinMaxCost() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 1001 RISCVTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument 1005 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 1009 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 1118 Type *CondTy, in getCmpSelInstrCost() argument 1123 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 1127 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 1132 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 1137 if (CondTy->isVectorTy()) { in getCmpSelInstrCost() 1178 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 1197 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| H A D | RISCVTargetTransformInfo.h | 135 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, 154 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 629 Type *CondTy = Type::getInt1Ty(Context); in Act() local 635 CondTy = VectorType::get(CondTy, VTy->getElementCount()); in Act() 637 Value *Cond = getRandomValue(CondTy); in Act()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 179 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, 199 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | AArch64TargetTransformInfo.cpp | 2419 Type *CondTy, in getCmpSelInstrCost() argument 2425 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 2471 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 2482 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 2924 AArch64TTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument 2930 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 2932 assert((isa<ScalableVectorType>(Ty) == isa<ScalableVectorType>(CondTy)) && in getMinMaxReductionCost()
|
| /openbsd-src/gnu/llvm/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 | 145 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.h | 105 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | SystemZTargetTransformInfo.cpp | 920 Type *CondTy, in getCmpSelInstrCost() argument 925 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost() 1001 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 1188 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 1308 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, 1791 Type *CondTy, 1836 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, 2368 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 2372 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 2436 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument 2438 return Impl.getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
|
| H A D | TargetTransformInfoImpl.h | 584 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 1163 Type *CondTy = U->getOperand(0)->getType(); in getInstructionCost() local 1164 return TargetTTI->getCmpSelInstrCost(Opcode, U->getType(), CondTy, in getInstructionCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.h | 124 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | PPCTargetTransformInfo.cpp | 660 Type *CondTy, in getCmpSelInstrCost() argument 670 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 891 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument 896 TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 1020 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument 1023 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.h | 224 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
|
| H A D | AMDGPUTargetTransformInfo.cpp | 778 GCNTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument 786 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 237 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | ARMTargetTransformInfo.cpp | 916 Type *CondTy, in getCmpSelInstrCost() argument 993 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost() 1001 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 1018 FixedVectorType *VecCondTy = dyn_cast_or_null<FixedVectorType>(CondTy); in getCmpSelInstrCost() 1059 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 3429 const LLT CondTy = MRI.getType(BorrowOut); in lower() local 3436 auto LHS_EQ_RHS = MIRBuilder.buildICmp(CmpInst::ICMP_EQ, CondTy, LHS, RHS); in lower() 3437 auto LHS_ULT_RHS = MIRBuilder.buildICmp(CmpInst::ICMP_ULT, CondTy, LHS, RHS); in lower() 4701 const LLT CondTy = LLT::scalar(1); in narrowScalarShift() local 4721 auto IsShort = MIRBuilder.buildICmp(ICmpInst::ICMP_ULT, CondTy, Amt, NewBits); in narrowScalarShift() 4722 auto IsZero = MIRBuilder.buildICmp(ICmpInst::ICMP_EQ, CondTy, Amt, Zero); in narrowScalarShift() 4893 LLT CondTy = MRI.getType(CondReg); in moreElementsVector() local 4895 if (!CondTy.isScalar() || in moreElementsVector() 4908 if (CondTy.isVector()) in moreElementsVector() 5497 LLT CondTy = MRI.getType(CondReg); in narrowScalarSelect() local [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 2865 llvm::Type *CondTy = Cond->getType(); in emitCondLikelihoodViaExpectIntrinsic() local 2866 assert(CondTy->isIntegerTy(1) && "expecting condition to be a boolean"); in emitCondLikelihoodViaExpectIntrinsic() 2868 CGM.getIntrinsic(llvm::Intrinsic::expect, CondTy); in emitCondLikelihoodViaExpectIntrinsic() 2870 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MachineVerifier.cpp | 1287 LLT CondTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local 1288 if (!SelTy.isValid() || !CondTy.isValid()) in verifyPreISelGenericInstruction() 1292 if (CondTy.isVector()) in verifyPreISelGenericInstruction() 1293 verifyVectorElementMatch(SelTy, CondTy, MI); in verifyPreISelGenericInstruction()
|