/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 897 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/ |
D | BasicTTIImpl.h | 836 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/ |
D | X86TargetTransformInfo.h | 135 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/ |
D | BasicTTIImpl.h | 479 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/ |
D | X86TargetTransformInfo.h | 133 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/ |
D | TargetTransformInfo.h | 941 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/ |
D | PPCTargetTransformInfo.h | 84 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
D | PPCTargetTransformInfo.cpp | 310 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/ |
D | ARMTargetTransformInfo.h | 110 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonTargetTransformInfo.cpp | 230 Type *CondTy, const Instruction *I) { in getCmpSelInstrCost() argument 236 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
|
D | HexagonTargetTransformInfo.h | 128 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 576 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/ |
D | llvm-stress.cpp | 632 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/ |
D | AArch64TargetTransformInfo.h | 116 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonTargetTransformInfo.cpp | 230 Type *CondTy, in getCmpSelInstrCost() argument 239 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
|
D | HexagonTargetTransformInfo.h | 135 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 514 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/ |
D | TargetTransformInfo.h | 1100 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/ |
D | SystemZTargetTransformInfo.h | 87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 636 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/ |
D | X86TargetTransformInfo.h | 73 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.h | 99 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.h | 99 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizerHelper.cpp | 2668 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/ |
D | CostModel.cpp | 418 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local 419 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); in getInstructionCost()
|