Home
last modified time | relevance | path

Searched refs:CBContext (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h454 return IRPosition::argument(*Arg, CBContext);
457 return IRPosition(const_cast<Value &>(V), IRP_FLOAT, CBContext);
524 const CallBaseContext *CBContext = nullptr) {
530 return IRPosition::function(*IRP.getAssociatedFunction(), CBContext);
534 return Enc == RHS.Enc && RHS.CBContext == CBContext;
759 Result.CBContext = nullptr;
767 bool hasCallBaseContext() const { return CBContext != nullptr; }
782 : CBContext(CBContext) {
788 const CallBaseContext *CBContext = nullptr)
789 : CBContext(CBContext) {
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributor.cpp990 assert((CBContext == nullptr) && in verify()
1006 assert((CBContext == nullptr) && in verify()
1014 assert((CBContext == nullptr) && in verify()
1034 assert((CBContext == nullptr) && in verify()
H A DAttributorAttributes.cpp391 const IRPosition::CallBaseContext *CBContext = nullptr) { in clampReturnedValueStates() argument
408 const IRPosition &RVPos = IRPosition::value(RV, CBContext); in clampReturnedValueStates()
505 const CallBase *CBContext = Pos.getCallBaseContext(); in getArgumentStateFromCallBaseContext() local
506 if (!CBContext) in getArgumentStateFromCallBaseContext()
513 QueryingAttribute, IRPosition::callsite_argument(*CBContext, ArgNo), in getArgumentStateFromCallBaseContext()
575 CallBase &CBContext = cast<CallBase>(this->getAnchorValue()); in updateImpl() local
578 << CBContext << "\n"); in updateImpl()
581 *AssociatedFunction, IntroduceCallBaseContext ? &CBContext : nullptr); in updateImpl()