Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1167 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 DBPFTargetTransformInfo.h47 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 DX86TargetTransformInfo.h146 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 DX86TargetTransformInfo.cpp3029 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 DRISCVTargetTransformInfo.cpp1001 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 DRISCVTargetTransformInfo.h135 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 Dllvm-stress.cpp629 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 DAArch64TargetTransformInfo.h179 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
199 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DAArch64TargetTransformInfo.cpp2419 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 DHexagonTargetTransformInfo.cpp272 Type *CondTy, in getCmpSelInstrCost() argument
283 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
H A DHexagonTargetTransformInfo.h145 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h105 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DSystemZTargetTransformInfo.cpp920 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 DTargetTransformInfo.h1188 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 DTargetTransformInfoImpl.h584 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 DPPCTargetTransformInfo.h124 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DPPCTargetTransformInfo.cpp660 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 DTargetTransformInfo.cpp891 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 DAMDGPUTargetTransformInfo.h224 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
H A DAMDGPUTargetTransformInfo.cpp778 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 DARMTargetTransformInfo.h237 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DARMTargetTransformInfo.cpp916 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 DLegalizerHelper.cpp3429 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 DCodeGenFunction.cpp2865 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 DMachineVerifier.cpp1287 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()

12