Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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,
DX86TargetTransformInfo.cpp1703 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
1881 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
2759 int X86TTIImpl::getMinMaxReductionCost(Type *ValTy, Type *CondTy, in getMinMaxReductionCost() argument
2986 return BaseT::getMinMaxReductionCost(ValTy, CondTy, IsPairwise, IsUnsigned); in getMinMaxReductionCost()
/third_party/skia/third_party/externals/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()
DTargetTransformInfoImpl.h457 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
/third_party/skia/third_party/externals/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,
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.h87 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
DSystemZTargetTransformInfo.cpp808 Type *CondTy, const Instruction *I) { in getCmpSelInstrCost() argument
884 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, nullptr); in getCmpSelInstrCost()
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.h99 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
DPPCTargetTransformInfo.cpp750 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
752 int Cost = BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.h133 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
DAArch64TargetTransformInfo.cpp599 Type *CondTy, const Instruction *I) { in getCmpSelInstrCost() argument
617 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost()
626 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.h227 int getMinMaxReductionCost(Type *Ty, Type *CondTy,
DAMDGPUTargetTransformInfo.cpp535 int GCNTTIImpl::getMinMaxReductionCost(Type *Ty, Type *CondTy, in getMinMaxReductionCost() argument
545 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsPairwise, IsUnsigned); in getMinMaxReductionCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.h199 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
DARMTargetTransformInfo.cpp447 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
459 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost()
475 return BaseCost * BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, I); in getCmpSelInstrCost()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp2472 Ice::Type CondTy = Context->getSimpleTypeByID(Values[0]); in ProcessRecord() local
2473 if (!Ice::isScalarIntegerType(CondTy)) { in ProcessRecord()
2476 StrBuf << "Case condition must be non-wide integer. Found: " << CondTy; in ProcessRecord()
2480 Ice::SizeT BitWidth = Ice::getScalarIntBitWidth(CondTy); in ProcessRecord()
2483 if (CondTy != Cond->getType()) { in ProcessRecord()
2486 StrBuf << "Case condition expects type " << CondTy in ProcessRecord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp611 Type *CondTy = SelectCond->getType(); in simplifyDivRemOfSelectWithZeroOp() local
626 *I = NonNullOperand == 1 ? ConstantInt::getTrue(CondTy) in simplifyDivRemOfSelectWithZeroOp()
627 : ConstantInt::getFalse(CondTy); in simplifyDivRemOfSelectWithZeroOp()
DInstCombineSelect.cpp296 Type *CondTy = Cond->getType(); in foldSelectOpOp() local
304 if (CondTy->isVectorTy()) { in foldSelectOpOp()
307 if (CondTy->getVectorNumElements() != FIOpndTy->getVectorNumElements()) in foldSelectOpOp()
389 if (CondTy->isVectorTy() && (!OtherOpT->getType()->isVectorTy() || in foldSelectOpOp()
DInstCombineCasts.cpp2170 Type *CondTy = Cond->getType(); in foldBitCastSelect() local
2172 if (CondTy->isVectorTy()) { in foldBitCastSelect()
2175 if (DestTy->getVectorNumElements() != CondTy->getVectorNumElements()) in foldBitCastSelect()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineVerifier.cpp1160 LLT CondTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1161 if (!SelTy.isValid() || !CondTy.isValid()) in verifyPreISelGenericInstruction()
1165 if (CondTy.isVector()) in verifyPreISelGenericInstruction()
1166 verifyVectorElementMatch(SelTy, CondTy, MI); in verifyPreISelGenericInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp5612 auto *CondTy = cast<IntegerType>(SI->getCondition()->getType()); in ReduceSwitchRange() local
5613 if (CondTy->getIntegerBitWidth() > 64 || in ReduceSwitchRange()
5614 !DL.fitsInLegalInteger(CondTy->getIntegerBitWidth())) in ReduceSwitchRange()

12