| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 780 assert(CondTy && "CondTy must exist"); in getCmpSelInstrCost() 781 if (CondTy->isVectorTy()) in getCmpSelInstrCost() 798 if (CondTy) in getCmpSelInstrCost() 799 CondTy = CondTy->getScalarType(); in getCmpSelInstrCost() 801 Opcode, ValTy->getScalarType(), CondTy, I); in getCmpSelInstrCost() 1099 Type *CondTy = Type::getInt1Ty(RetTy->getContext()); variable 1101 CondTy = VectorType::get(CondTy, RetVF); 1103 CondTy, nullptr); 1105 CondTy, nullptr); 1467 Type *ScalarCondTy = CondTy->getVectorElementType(); in getMinMaxReductionCost() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86TargetTransformInfo.h | 75 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, 99 int getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwiseForm,
|
| H A D | X86TargetTransformInfo.cpp | 1644 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 1720 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost() 2375 int X86TTIImpl::getMinMaxReductionCost(Type *ValTy, Type *CondTy, in getMinMaxReductionCost() argument 2518 return BaseT::getMinMaxReductionCost(ValTy, CondTy, IsPairwise, IsUnsigned); in getMinMaxReductionCost()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 803 Type *CondTy = nullptr, const Instruction *I = nullptr) const; 858 int getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwiseForm, 1144 Type *CondTy, const Instruction *I) = 0; 1164 virtual int getMinMaxReductionCost(Type *Ty, Type *CondTy, 1483 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 1485 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost() 1516 int getMinMaxReductionCost(Type *Ty, Type *CondTy, in getMinMaxReductionCost() argument 1518 return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned); in getMinMaxReductionCost()
|
| H A D | TargetTransformInfoImpl.h | 428 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | TargetTransformInfo.cpp | 482 Type *CondTy, const Instruction *I) const { in getCmpSelInstrCost() argument 485 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost() 580 int TargetTransformInfo::getMinMaxReductionCost(Type *Ty, Type *CondTy, in getMinMaxReductionCost() argument 584 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned); in getMinMaxReductionCost() 1028 Type *CondTy = SI->getCondition()->getType(); in getInstructionThroughput() local 1029 return getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy, I); in getInstructionThroughput()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 626 Type *CondTy = Type::getInt1Ty(Context); in Act() local 632 CondTy = VectorType::get(CondTy, NumElem); in Act() 635 Value *Cond = getRandomValue(CondTy); in Act()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetTransformInfo.cpp | 219 Type *CondTy, const Instruction *I) { in getCmpSelInstrCost() argument 225 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
|
| H A D | HexagonTargetTransformInfo.h | 128 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.h | 84 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | PPCTargetTransformInfo.cpp | 358 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 360 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.h | 87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | SystemZTargetTransformInfo.cpp | 788 Type *CondTy, const Instruction *I) { in getCmpSelInstrCost() argument 864 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, nullptr); in getCmpSelInstrCost()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.h | 131 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | AArch64TargetTransformInfo.cpp | 590 Type *CondTy, const Instruction *I) { in getCmpSelInstrCost() argument 608 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 617 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.h | 151 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
| H A D | ARMTargetTransformInfo.cpp | 355 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument 367 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost() 380 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetTransformInfo.h | 198 int getMinMaxReductionCost(Type *Ty, Type *CondTy,
|
| H A D | AMDGPUTargetTransformInfo.cpp | 473 int GCNTTIImpl::getMinMaxReductionCost(Type *Ty, Type *CondTy, in getMinMaxReductionCost() argument 483 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsPairwise, IsUnsigned); in getMinMaxReductionCost()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 523 Type *CondTy = SelectCond->getType(); in simplifyDivRemOfSelectWithZeroOp() local 538 *I = NonNullOperand == 1 ? ConstantInt::getTrue(CondTy) in simplifyDivRemOfSelectWithZeroOp() 539 : ConstantInt::getFalse(CondTy); in simplifyDivRemOfSelectWithZeroOp()
|
| H A D | InstCombineSelect.cpp | 303 Type *CondTy = SI.getCondition()->getType(); in foldSelectOpOp() local 304 if (CondTy->isVectorTy()) { in foldSelectOpOp() 307 if (CondTy->getVectorNumElements() != FIOpndTy->getVectorNumElements()) in foldSelectOpOp()
|
| H A D | InstCombineCasts.cpp | 2105 Type *CondTy = Cond->getType(); in foldBitCastSelect() local 2107 if (CondTy->isVectorTy()) { in foldBitCastSelect() 2110 if (DestTy->getVectorNumElements() != CondTy->getVectorNumElements()) in foldBitCastSelect()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 6564 QualType CondTy = Cond->getType(); in checkCondition() local 6569 << CondTy << Cond->getSourceRange(); in checkCondition() 6574 if (CondTy->isScalarType()) return false; in checkCondition() 6577 << CondTy << Cond->getSourceRange(); in checkCondition() 6897 const VectorType *CV = CondTy->getAs<VectorType>(); in OpenCLConvertScalarsToVectors() 6914 << CondTy << OS.str(); in OpenCLConvertScalarsToVectors() 6931 assert(CondTy); in checkOpenCLConditionVector() 6932 QualType EleTy = CondTy->getElementType(); in checkOpenCLConditionVector() 6954 << CondTy << VecResTy; in checkVectorResult() 6963 << CondTy << VecResTy; in checkVectorResult() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 5923 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local 5925 CondTy = VectorType::get(CondTy, VF); in getInstructionCost() 5927 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy, CondTy, I); in getInstructionCost()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyCFG.cpp | 5506 auto *CondTy = cast<IntegerType>(SI->getCondition()->getType()); in ReduceSwitchRange() local 5507 if (CondTy->getIntegerBitWidth() > 64 || in ReduceSwitchRange() 5508 !DL.fitsInLegalInteger(CondTy->getIntegerBitWidth())) in ReduceSwitchRange()
|