Searched refs:BOI (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | AssumeBundleQueries.cpp | 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() 53 for (auto &BOI : Assume.bundle_op_infos()) { in hasAttributeInAssume() local 54 if (BOI.Tag->getKey() != AttrName) in hasAttributeInAssume() 56 if (IsOn && (BOI.End - BOI in hasAttributeInAssume() 100 getKnowledgeFromBundle(AssumeInst & Assume,const CallBase::BundleOpInfo & BOI) getKnowledgeFromBundle() argument 121 CallBase::BundleOpInfo BOI = Assume.getBundleOpInfoForOperand(Idx); getKnowledgeFromOperandInAssume() local 127 __anonc16652090202(const CallBase::BundleOpInfo &BOI) isAssumeWithEmptyBundle() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | AssumeBundleBuilder.cpp | 398 CallInst::BundleOpInfo *BOI; in dropRedundantKnowledge() member 409 for (CallInst::BundleOpInfo &BOI : Assume->bundle_op_infos()) { in dropRedundantKnowledge() 412 if (BOI.Begin != BOI.End) { in dropRedundantKnowledge() 413 Use *U = &Assume->op_begin()[BOI.Begin + ABA_WasOn]; in dropRedundantKnowledge() 416 BOI.Tag = IgnoreTag; in dropRedundantKnowledge() 418 if (BOI.Tag == IgnoreTag) { in dropRedundantKnowledge() 423 getKnowledgeFromBundle(cast<AssumeInst>(*Assume), BOI); in dropRedundantKnowledge() 452 Elem.Assume->op_begin()[Elem.BOI->Begin + ABA_Argument].set( in dropRedundantKnowledge() 459 Lookup.push_back({Assume, RK.ArgValue, &BOI}); in dropRedundantKnowledge() 481 for (CallInst::BundleOpInfo &BOI : I->bundle_op_infos()) { in mergeRange() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | AssumeBundleQueries.h | 172 const CallBase::BundleOpInfo &BOI);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 2199 auto &BOI = getBundleOpInfoForOperand(OpIdx); 2200 auto OBU = operandBundleFromBundleOpInfo(BOI); 2201 return OBU.operandHasAttr(OpIdx - BOI.Begin, A); 2249 operandBundleFromBundleOpInfo(const BundleOpInfo &BOI) const { 2251 ArrayRef<Use> Inputs(begin + BOI.Begin, begin + BOI.End); 2252 return OperandBundleUse(BOI.Tag, Inputs);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCalls.cpp | 3121 auto &BOI = II->bundle_op_info_begin()[Idx]; in visitCallInst() local 3123 llvm::getKnowledgeFromBundle(cast<AssumeInst>(*II), BOI); in visitCallInst() 3124 if (BOI.End - BOI.Begin > 2) in visitCallInst() 3135 if (BOI.End - BOI.Begin > 0) { in visitCallInst() 3136 Worklist.pushValue(II->op_begin()[BOI.Begin]); in visitCallInst() 3137 Value::dropDroppableUse(II->op_begin()[BOI.Begin]); in visitCallInst() 3142 if (BOI.End - BOI.Begin > 0) in visitCallInst() 3143 II->op_begin()[BOI.Begin].set(CanonRK.WasOn); in visitCallInst() 3144 if (BOI.End - BOI.Begin > 1) in visitCallInst() 3145 II->op_begin()[BOI.Begin + 1].set(ConstantInt::get( in visitCallInst()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Instructions.cpp | 497 for (auto &BOI : bundle_op_infos()) { in populateBundleOperandInfos() local 500 BOI.Tag = ContextImpl->getOrInsertBundleTag(BI->getTag()); in populateBundleOperandInfos() 501 BOI.Begin = CurrentIndex; in populateBundleOperandInfos() 502 BOI.End = CurrentIndex + BI->input_size(); in populateBundleOperandInfos() 503 CurrentIndex = BOI.End; in populateBundleOperandInfos() 517 for (auto &BOI : bundle_op_infos()) in getBundleOpInfoForOperand() local 518 if (BOI.Begin <= OpIdx && OpIdx < BOI.End) in getBundleOpInfoForOperand() 519 return BOI; in getBundleOpInfoForOperand()
|
H A D | Value.cpp | 225 CallInst::BundleOpInfo &BOI = Assume->getBundleOpInfoForOperand(OpNo); in dropDroppableUse() local 226 BOI.Tag = Assume->getContext().pImpl->getOrInsertBundleTag("ignore"); in dropDroppableUse()
|