Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1113 assert(CondTy && "CondTy must exist");
1114 if (CondTy->isVectorTy())
1135 if (CondTy)
1136 CondTy = CondTy->getScalarType();
1559 Type *CondTy = RetTy->getWithNewBitWidth(1); in getIntrinsicInstrCost() local
1816 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local
1833 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local
1846 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local
1868 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local
1995 Type *CondTy = RetTy->getWithNewBitWidth(1); in getTypeBasedIntrinsicInstrCost() local
[all …]
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFTargetTransformInfo.h47 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
54 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind,
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.h145 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
197 InstructionCost getMinMaxCost(Type *Ty, Type *CondTy, bool IsUnsigned);
199 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp321 RISCVTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument
325 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
329 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
H A DRISCVTargetTransformInfo.h106 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
/llvm-project-15.0.7/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp627 Type *CondTy = Type::getInt1Ty(Context); in Act() local
634 CondTy = FixedVectorType::get(CondTy, NumElem); in Act()
637 Value *Cond = getRandomValue(CondTy); in Act()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.h179 InstructionCost getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy,
201 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DAArch64TargetTransformInfo.cpp2115 Type *CondTy, in getCmpSelInstrCost() argument
2121 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, in getCmpSelInstrCost()
2167 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost()
2178 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
2614 AArch64TTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument
2620 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
2622 assert((isa<ScalableVectorType>(Ty) == isa<ScalableVectorType>(CondTy)) && in getMinMaxReductionCost()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonTargetTransformInfo.cpp252 Type *CondTy, in getCmpSelInstrCost() argument
261 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
H A DHexagonTargetTransformInfo.h138 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h1157 getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
1261 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
1733 Type *CondTy,
1774 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
2278 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
2282 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
2338 getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument
2340 return Impl.getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
H A DTargetTransformInfoImpl.h564 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy, in getCmpSelInstrCost() argument
1122 Type *CondTy = U->getOperand(0)->getType(); in getUserCost() local
1123 return TargetTTI->getCmpSelInstrCost(Opcode, U->getType(), CondTy, in getUserCost()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.h106 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DSystemZTargetTransformInfo.cpp915 Type *CondTy, in getCmpSelInstrCost() argument
920 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost()
996 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind); in getCmpSelInstrCost()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h122 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DPPCTargetTransformInfo.cpp1056 Type *CondTy, in getCmpSelInstrCost() argument
1066 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp855 unsigned Opcode, Type *ValTy, Type *CondTy, CmpInst::Predicate VecPred, in getCmpSelInstrCost() argument
860 TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
967 VectorType *Ty, VectorType *CondTy, bool IsUnsigned, in getMinMaxReductionCost() argument
970 TTIImpl->getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.h218 VectorType *Ty, VectorType *CondTy, bool IsUnsigned,
H A DAMDGPUTargetTransformInfo.cpp777 GCNTTIImpl::getMinMaxReductionCost(VectorType *Ty, VectorType *CondTy, in getMinMaxReductionCost() argument
785 return BaseT::getMinMaxReductionCost(Ty, CondTy, IsUnsigned, CostKind); in getMinMaxReductionCost()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.h235 InstructionCost getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy,
H A DARMTargetTransformInfo.cpp912 Type *CondTy, in getCmpSelInstrCost() argument
989 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT && CondTy) { in getCmpSelInstrCost()
997 EVT SelCondTy = TLI->getValueType(DL, CondTy); in getCmpSelInstrCost()
1015 FixedVectorType *VecCondTy = dyn_cast_or_null<FixedVectorType>(CondTy); in getCmpSelInstrCost()
1054 BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy, VecPred, CostKind, I); in getCmpSelInstrCost()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3417 const LLT CondTy = MRI.getType(BorrowOut); in lower() local
4679 const LLT CondTy = LLT::scalar(1); in narrowScalarShift() local
4867 LLT CondTy = MRI.getType(CondReg); in moreElementsVector() local
4869 if (!CondTy.isScalar() || in moreElementsVector()
4882 if (CondTy.isVector()) in moreElementsVector()
5403 LLT CondTy = MRI.getType(CondReg); in narrowScalarSelect() local
5404 if (CondTy.isVector()) // TODO: Handle vselect in narrowScalarSelect()
6429 const LLT CondTy = Ty.changeElementSize(1); in lowerIntrinsicRound() local
6462 const LLT CondTy = Ty.changeElementSize(1); in lowerFFloor() local
6471 auto Lt0 = MIRBuilder.buildFCmp(CmpInst::FCMP_OLT, CondTy, in lowerFFloor()
[all …]
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenFunction.cpp2750 llvm::Type *CondTy = Cond->getType(); in emitCondLikelihoodViaExpectIntrinsic() local
2751 assert(CondTy->isIntegerTy(1) && "expecting condition to be a boolean"); in emitCondLikelihoodViaExpectIntrinsic()
2753 CGM.getIntrinsic(llvm::Intrinsic::expect, CondTy); in emitCondLikelihoodViaExpectIntrinsic()
2755 llvm::ConstantInt::getBool(CondTy, LH == Stmt::LH_Likely); in emitCondLikelihoodViaExpectIntrinsic()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp712 Type *CondTy = SelectCond->getType(); in simplifyDivRemOfSelectWithZeroOp() local
726 replaceUse(Op, NonNullOperand == 1 ? ConstantInt::getTrue(CondTy) in simplifyDivRemOfSelectWithZeroOp()
727 : ConstantInt::getFalse(CondTy)); in simplifyDivRemOfSelectWithZeroOp()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineVerifier.cpp1246 LLT CondTy = MRI->getType(MI->getOperand(1).getReg()); in verifyPreISelGenericInstruction() local
1247 if (!SelTy.isValid() || !CondTy.isValid()) in verifyPreISelGenericInstruction()
1251 if (CondTy.isVector()) in verifyPreISelGenericInstruction()
1252 verifyVectorElementMatch(SelTy, CondTy, MI); in verifyPreISelGenericInstruction()

12