Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h780 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 DX86TargetTransformInfo.h75 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
99 int getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwiseForm,
H A DX86TargetTransformInfo.cpp1644 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 DTargetTransformInfo.h803 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 DTargetTransformInfoImpl.h428 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp482 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 Dllvm-stress.cpp626 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 DHexagonTargetTransformInfo.cpp219 Type *CondTy, const Instruction *I) { in getCmpSelInstrCost() argument
225 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
H A DHexagonTargetTransformInfo.h128 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h84 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DPPCTargetTransformInfo.cpp358 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 DSystemZTargetTransformInfo.h87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DSystemZTargetTransformInfo.cpp788 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 DAArch64TargetTransformInfo.h131 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DAArch64TargetTransformInfo.cpp590 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 DARMTargetTransformInfo.h151 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DARMTargetTransformInfo.cpp355 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 DAMDGPUTargetTransformInfo.h198 int getMinMaxReductionCost(Type *Ty, Type *CondTy,
H A DAMDGPUTargetTransformInfo.cpp473 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 DInstCombineMulDivRem.cpp523 Type *CondTy = SelectCond->getType(); in simplifyDivRemOfSelectWithZeroOp() local
538 *I = NonNullOperand == 1 ? ConstantInt::getTrue(CondTy) in simplifyDivRemOfSelectWithZeroOp()
539 : ConstantInt::getFalse(CondTy); in simplifyDivRemOfSelectWithZeroOp()
H A DInstCombineSelect.cpp303 Type *CondTy = SI.getCondition()->getType(); in foldSelectOpOp() local
304 if (CondTy->isVectorTy()) { in foldSelectOpOp()
307 if (CondTy->getVectorNumElements() != FIOpndTy->getVectorNumElements()) in foldSelectOpOp()
H A DInstCombineCasts.cpp2105 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 DSemaExpr.cpp6564 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 DLoopVectorize.cpp5923 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 DSimplifyCFG.cpp5506 auto *CondTy = cast<IntegerType>(SI->getCondition()->getType()); in ReduceSwitchRange() local
5507 if (CondTy->getIntegerBitWidth() > 64 || in ReduceSwitchRange()
5508 !DL.fitsInLegalInteger(CondTy->getIntegerBitWidth())) in ReduceSwitchRange()