Home
last modified time | relevance | path

Searched refs:PTrue (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DSVEIntrinsicOpts.cpp96 static bool isPTruePromoted(IntrinsicInst *PTrue) { in isPTruePromoted() argument
100 for (User *User : PTrue->users()) { in isPTruePromoted()
113 const auto *PTrueVTy = cast<ScalableVectorType>(PTrue->getType()); in isPTruePromoted()
170 for (auto *PTrue : PTrues) { in coalescePTrueIntrinsicCalls() local
171 auto *PTrueVTy = cast<VectorType>(PTrue->getType()); in coalescePTrueIntrinsicCalls()
182 PTrue->replaceAllUsesWith(ConvertFromSVBool); in coalescePTrueIntrinsicCalls()
184 PTrue->replaceAllUsesWith(MostEncompassingPTrue); in coalescePTrueIntrinsicCalls()
186 PTrue->eraseFromParent(); in coalescePTrueIntrinsicCalls()
H A DAArch64TargetTransformInfo.cpp807 auto *PTrue = Builder.CreateIntrinsic(Intrinsic::aarch64_sve_ptrue, in instCombineSVECmpNE() local
810 Intrinsic::aarch64_sve_convert_to_svbool, {PredType}, {PTrue}); in instCombineSVECmpNE()
948 auto *PTrue = Builder.CreateIntrinsic(Intrinsic::aarch64_sve_ptrue, in instCombineRDFFR() local
951 Builder.CreateIntrinsic(Intrinsic::aarch64_sve_rdffr_z, {}, {PTrue}); in instCombineRDFFR()
H A DAArch64SVEInstrInfo.td2669 Instruction RegImmInst, Instruction PTrue,
2673 (RegRegInst ZPR:$val, (PTrue 31), GPR64sp:$base, GPR64:$offset)>;
2677 (RegImmInst ZPR:$val, (PTrue 31), GPR64sp:$base, simm4s1:$offset)>;
2681 (RegImmInst ZPR:$val, (PTrue 31), GPR64:$base, (i64 0))>;
2705 Instruction RegImmInst, Instruction PTrue,
2709 (RegRegInst (PTrue 31), GPR64sp:$base, GPR64:$offset)>;
2713 (RegImmInst (PTrue 31), GPR64sp:$base, simm4s1:$offset)>;
2717 (RegImmInst (PTrue 31), GPR64:$base, (i64 0))>;
H A DAArch64ISelLowering.cpp12778 SDValue PTrue = getPTrue(DAG, DL, PredTy, *PredPattern); in LowerINSERT_SUBVECTOR() local
12780 return DAG.getNode(ISD::VSELECT, DL, VT, PTrue, ScalableVec1, Vec0); in LowerINSERT_SUBVECTOR()
14448 Value *PTrue = nullptr; in lowerInterleavedLoad() local
14459 PTrue = Builder.CreateIntrinsic(Intrinsic::aarch64_sve_ptrue, {PredTy}, in lowerInterleavedLoad()
14474 LdNFunc, {PTrue, Builder.CreateBitCast(BaseAddr, PtrTy)}, "ldN"); in lowerInterleavedLoad()
14640 Value *PTrue = nullptr; in lowerInterleavedStore() local
14652 PTrue = Builder.CreateIntrinsic(Intrinsic::aarch64_sve_ptrue, {PredTy}, in lowerInterleavedStore()
14694 Ops.push_back(PTrue); in lowerInterleavedStore()
H A DSVEInstrFormats.td307 // SVE PTrue - These are used extensively throughout the pattern matching so