Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h897 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
907 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind,
912 assert(CondTy && "CondTy must exist");
913 if (CondTy->isVectorTy())
930 if (CondTy)
931 CondTy = CondTy->getScalarType();
933 Opcode, ValVTy->getScalarType(), CondTy, VecPred, CostKind, I);
1308 Type *CondTy = RetTy->getWithNewBitWidth(1); in getIntrinsicInstrCost() local
1310 thisT()->getCmpSelInstrCost(BinaryOperator::ICmp, RetTy, CondTy, in getIntrinsicInstrCost()
1313 thisT()->getCmpSelInstrCost(BinaryOperator::Select, RetTy, CondTy, in getIntrinsicInstrCost()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h836 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
844 assert(CondTy && "CondTy must exist"); in getCmpSelInstrCost()
845 if (CondTy->isVectorTy()) in getCmpSelInstrCost()
862 if (CondTy) in getCmpSelInstrCost()
863 CondTy = CondTy->getScalarType(); in getCmpSelInstrCost()
865 Opcode, ValTy->getScalarType(), CondTy, I); in getCmpSelInstrCost()
1164 Type *CondTy = RetTy->getWithNewBitWidth(1); variable
1166 CondTy, nullptr);
1168 CondTy, nullptr);
1338 Type *CondTy = RetTy->getWithNewBitWidth(1); variable
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86TargetTransformInfo.h135 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
179 int getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned);
181 int getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h479 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
486 assert(CondTy && "CondTy must exist"); in getCmpSelInstrCost()
487 if (CondTy->isVectorTy()) in getCmpSelInstrCost()
504 if (CondTy) in getCmpSelInstrCost()
505 CondTy = CondTy->getScalarType(); in getCmpSelInstrCost()
507 Opcode, ValTy->getScalarType(), CondTy); in getCmpSelInstrCost()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.h133 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
157 int getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwiseForm,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h941 Type *CondTy = nullptr, const Instruction *I = nullptr) const;
997 int getMinMaxReductionCost(Type *Ty, Type *CondTy, bool IsPairwiseForm,
1328 Type *CondTy, const Instruction *I) = 0;
1348 virtual int getMinMaxReductionCost(Type *Ty, Type *CondTy,
1739 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
1741 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
1772 int getMinMaxReductionCost(Type *Ty, Type *CondTy, in getMinMaxReductionCost() argument
1774 return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned); in getMinMaxReductionCost()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.h84 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
DPPCTargetTransformInfo.cpp310 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
311 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h110 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp230 Type *CondTy, const Instruction *I) { in getCmpSelInstrCost() argument
236 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
DHexagonTargetTransformInfo.h128 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp576 Type *CondTy = Type::getInt1Ty(Context); in Act() local
582 CondTy = VectorType::get(CondTy, NumElem); in Act()
585 Value *Cond = getRandomValue(CondTy); in Act()
/external/llvm-project/llvm/tools/llvm-stress/
Dllvm-stress.cpp632 Type *CondTy = Type::getInt1Ty(Context); in Act() local
639 CondTy = FixedVectorType::get(CondTy, NumElem); in Act()
642 Value *Cond = getRandomValue(CondTy); in Act()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h116 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonTargetTransformInfo.cpp230 Type *CondTy, in getCmpSelInstrCost() argument
239 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
DHexagonTargetTransformInfo.h135 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h514 Type *CondTy = nullptr) const;
705 Type *CondTy) = 0;
917 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) override { in getCmpSelInstrCost() argument
918 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfo.h1100 unsigned Opcode, Type *ValTy, Type *CondTy = nullptr,
1168 VectorType *Ty, VectorType *CondTy, bool IsPairwiseForm, bool IsUnsigned,
1543 virtual int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
1569 virtual int getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
1992 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
1996 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
2036 int getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument
2039 return Impl.getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned, in getMinMaxReductionCost()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.h87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp636 Type *CondTy, const Instruction *I) const { in getCmpSelInstrCost() argument
639 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
740 int TargetTransformInfo::getMinMaxReductionCost(Type *Ty, Type *CondTy, in getMinMaxReductionCost() argument
744 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsPairwiseForm, IsUnsigned); in getMinMaxReductionCost()
1202 Type *CondTy = SI->getCondition()->getType(); in getInstructionThroughput() local
1203 return getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy, I); in getInstructionThroughput()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.h73 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.h99 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.h99 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp2668 LLT CondTy = MRI.getType(CondReg); in fewerElementsVectorSelect() local
2671 assert(TypeIdx == 0 || CondTy.isVector()); in fewerElementsVectorSelect()
2675 NarrowTy1 = CondTy; in fewerElementsVectorSelect()
2686 if (CondTy.isVector()) { in fewerElementsVectorSelect()
2687 if (CondTy.getNumElements() == NumParts) in fewerElementsVectorSelect()
2688 NarrowTy1 = CondTy.getElementType(); in fewerElementsVectorSelect()
2690 NarrowTy1 = LLT::vector(CondTy.getNumElements() / NumParts, in fewerElementsVectorSelect()
2691 CondTy.getScalarSizeInBits()); in fewerElementsVectorSelect()
2694 NumParts = CondTy.getNumElements(); in fewerElementsVectorSelect()
2697 if (NumParts * NarrowTy.getNumElements() != CondTy.getNumElements()) in fewerElementsVectorSelect()
[all …]
/external/llvm/lib/Analysis/
DCostModel.cpp418 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local
419 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); in getInstructionCost()

123