| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 1113 assert(CondTy && "CondTy must exist"); 1114 if (CondTy->isVectorTy()) 1135 if (CondTy) 1136 CondTy = CondTy->getScalarType(); 1559 Type *CondTy = RetTy->getWithNewBitWidth(1); in getIntrinsicInstrCost() local 1816 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local 1833 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local 1846 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local 1868 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local 1995 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local [all …]
|
| /llvm-project-15.0.7/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,
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 145 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 197 InstructionCost getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned); 199 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/ |
| H A D | RISCVTargetTransformInfo.cpp | 321 RISCVTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument 325 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 329 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
|
| H A D | RISCVTargetTransformInfo.h | 106 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
|
| /llvm-project-15.0.7/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 627 Type *CondTy = Type::getInt1Ty(Context); in Act() local 634 CondTy = FixedVectorType::get(CondTy, NumElem); in Act() 637 Value *Cond = getRandomValue(CondTy); in Act()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 179 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, 201 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | AArch64TargetTransformInfo.cpp | 2115 Type *CondTy, in getCmpSelInstrCost() argument 2121 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost() 2167 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 2178 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 2614 AArch64TTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument 2620 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost() 2622 assert((isa<ScalableVectorType>(Ty) == isa<ScalableVectorType>(CondTy)) && in getMinMaxReductionCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 252 Type *CondTy, in getCmpSelInstrCost() argument 261 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| H A D | HexagonTargetTransformInfo.h | 138 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 1157 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 1261 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, 1733 Type *CondTy, 1774 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, 2278 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 2282 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 2338 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument 2340 return Impl.getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
|
| H A D | TargetTransformInfoImpl.h | 564 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 1122 Type *CondTy = U->getOperand(0)->getType(); in getUserCost() local 1123 return TargetTTI->getCmpSelInstrCost(Opcode, U->getType(), CondTy, in getUserCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.h | 106 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | SystemZTargetTransformInfo.cpp | 915 Type *CondTy, in getCmpSelInstrCost() argument 920 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost() 996 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.h | 122 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | PPCTargetTransformInfo.cpp | 1056 Type *CondTy, in getCmpSelInstrCost() argument 1066 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 855 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument 860 TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost() 967 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument 970 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.h | 218 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
|
| H A D | AMDGPUTargetTransformInfo.cpp | 777 GCNTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument 785 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 235 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | ARMTargetTransformInfo.cpp | 912 Type *CondTy, in getCmpSelInstrCost() argument 989 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost() 997 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 1015 FixedVectorType *VecCondTy = dyn_cast_or_null<FixedVectorType>(CondTy); in getCmpSelInstrCost() 1054 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 3417 const LLT CondTy = MRI.getType(BorrowOut); in lower() local 4679 const LLT CondTy = LLT::scalar(1); in narrowScalarShift() local 4867 LLT CondTy = MRI.getType(CondReg); in moreElementsVector() local 4869 if (!CondTy.isScalar() || in moreElementsVector() 4882 if (CondTy.isVector()) in moreElementsVector() 5403 LLT CondTy = MRI.getType(CondReg); in narrowScalarSelect() local 5404 if (CondTy.isVector()) // TODO: Handle vselect in narrowScalarSelect() 6429 const LLT CondTy = Ty.changeElementSize(1); in lowerIntrinsicRound() local 6462 const LLT CondTy = Ty.changeElementSize(1); in lowerFFloor() local 6471 auto Lt0 = MIRBuilder.buildFCmp(CmpInst::FCMP_OLT, CondTy, in lowerFFloor() [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 2750 llvm::Type *CondTy = Cond->getType(); in emitCondLikelihoodViaExpectIntrinsic() local 2751 assert(CondTy->isIntegerTy(1) && "expecting condition to be a boolean"); in emitCondLikelihoodViaExpectIntrinsic() 2753 CGM.getIntrinsic(llvm::Intrinsic::expect, CondTy); in emitCondLikelihoodViaExpectIntrinsic() 2755 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 712 Type *CondTy = SelectCond->getType(); in simplifyDivRemOfSelectWithZeroOp() local 726 replaceUse(Op, NonNullOperand == 1 ? ConstantInt::getTrue(CondTy) in simplifyDivRemOfSelectWithZeroOp() 727 : ConstantInt::getFalse(CondTy)); in simplifyDivRemOfSelectWithZeroOp()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineVerifier.cpp | 1246 LLT CondTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local 1247 if (!SelTy.isValid() || !CondTy.isValid()) in verifyPreISelGenericInstruction() 1251 if (CondTy.isVector()) in verifyPreISelGenericInstruction() 1252 verifyVectorElementMatch(SelTy, CondTy, MI); in verifyPreISelGenericInstruction()
|