Lines Matching refs:BOI
32 static bool bundleHasArgument(const CallBase::BundleOpInfo &BOI, unsigned Idx) { in bundleHasArgument() argument
33 return BOI.End - BOI.Begin > Idx; in bundleHasArgument()
37 const CallBase::BundleOpInfo &BOI, in getValueFromBundleOpInfo() argument
39 assert(bundleHasArgument(BOI, Idx) && "index out of range"); in getValueFromBundleOpInfo()
40 return (Assume.op_begin() + BOI.Begin + Idx)->get(); in getValueFromBundleOpInfo()
58 for (auto &BOI : Assume.bundle_op_infos()) { in hasAttributeInAssume() local
59 if (BOI.Tag->getKey() != AttrName) in hasAttributeInAssume()
61 if (IsOn && (BOI.End - BOI.Begin <= ABA_WasOn || in hasAttributeInAssume()
62 IsOn != getValueFromBundleOpInfo(Assume, BOI, ABA_WasOn))) in hasAttributeInAssume()
65 assert(BOI.End - BOI.Begin > ABA_Argument); in hasAttributeInAssume()
67 cast<ConstantInt>(getValueFromBundleOpInfo(Assume, BOI, ABA_Argument)) in hasAttributeInAssume()
106 const CallBase::BundleOpInfo &BOI) { in getKnowledgeFromBundle() argument
108 Result.AttrKind = Attribute::getAttrKindFromName(BOI.Tag->getKey()); in getKnowledgeFromBundle()
109 if (bundleHasArgument(BOI, ABA_WasOn)) in getKnowledgeFromBundle()
110 Result.WasOn = getValueFromBundleOpInfo(Assume, BOI, ABA_WasOn); in getKnowledgeFromBundle()
113 getValueFromBundleOpInfo(Assume, BOI, ABA_Argument + Idx))) in getKnowledgeFromBundle()
117 if (BOI.End - BOI.Begin > ABA_Argument) in getKnowledgeFromBundle()
120 if (BOI.End - BOI.Begin > ABA_Argument + 1) in getKnowledgeFromBundle()
130 CallBase::BundleOpInfo BOI = Assume.getBundleOpInfoForOperand(Idx); in getKnowledgeFromOperandInAssume() local
131 return getKnowledgeFromBundle(AssumeCI, BOI); in getKnowledgeFromOperandInAssume()
139 [](const CallBase::BundleOpInfo &BOI) { in isAssumeWithEmptyBundle() argument
140 return BOI.Tag->getKey() != IgnoreBundleTag; in isAssumeWithEmptyBundle()