/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 442 MemoryEffects getMemoryEffects(const CallBase *Call); 445 MemoryEffects getMemoryEffects(const Function *F); 459 return getMemoryEffects(Call).doesNotAccessMemory(); 474 return getMemoryEffects(F).doesNotAccessMemory(); 487 return getMemoryEffects(Call).onlyReadsMemory(); 500 return getMemoryEffects(F).onlyReadsMemory(); 611 MemoryEffects getMemoryEffects(const CallBase *Call, AAQueryInfo &AAQI); 664 MemoryEffects getMemoryEffects(const CallBase *Call) { 665 return AA.getMemoryEffects(Call, AAQI); 741 virtual MemoryEffects getMemoryEffects(const CallBase *Call, [all …]
|
H A D | ObjCARCAliasAnalysis.h | 58 using AAResultBase::getMemoryEffects; 59 MemoryEffects getMemoryEffects(const Function *F);
|
H A D | TypeBasedAliasAnalysis.h | 46 MemoryEffects getMemoryEffects(const CallBase *Call, AAQueryInfo &AAQI); 47 MemoryEffects getMemoryEffects(const Function *F);
|
H A D | GlobalsModRef.h | 103 using AAResultBase::getMemoryEffects; 107 MemoryEffects getMemoryEffects(const Function *F);
|
H A D | BasicAliasAnalysis.h | 94 MemoryEffects getMemoryEffects(const CallBase *Call, AAQueryInfo &AAQI); 98 MemoryEffects getMemoryEffects(const Function *Fn);
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ObjCARCAliasAnalysis.cpp | 102 MemoryEffects ObjCARCAAResult::getMemoryEffects(const Function *F) { in getMemoryEffects() function in ObjCARCAAResult 104 return AAResultBase::getMemoryEffects(F); in getMemoryEffects() 113 return AAResultBase::getMemoryEffects(F); in getMemoryEffects()
|
H A D | AliasAnalysis.cpp | 231 auto ME = getMemoryEffects(Call, AAQI) in getModRefInfo() 283 auto Call1B = getMemoryEffects(Call1, AAQI); in getModRefInfo() 287 auto Call2B = getMemoryEffects(Call2, AAQI); in getModRefInfo() 374 MemoryEffects AAResults::getMemoryEffects(const CallBase *Call, in getMemoryEffects() function in AAResults 379 Result &= AA->getMemoryEffects(Call, AAQI); in getMemoryEffects() 389 MemoryEffects AAResults::getMemoryEffects(const CallBase *Call) { in getMemoryEffects() function in AAResults 391 return getMemoryEffects(Call, AAQI); in getMemoryEffects() 394 MemoryEffects AAResults::getMemoryEffects(const Function *F) { in getMemoryEffects() function in AAResults 398 Result &= AA->getMemoryEffects(F); in getMemoryEffects() 609 return getMemoryEffects(Call, AAQIP).getModRef(); in getModRefInfo()
|
H A D | BasicAliasAnalysis.cpp | 825 MemoryEffects BasicAAResult::getMemoryEffects(const CallBase *Call, in getMemoryEffects() function in BasicAAResult 827 MemoryEffects Min = Call->getAttributes().getMemoryEffects(); in getMemoryEffects() 830 MemoryEffects FuncME = AAQI.AAR.getMemoryEffects(F); in getMemoryEffects() 845 MemoryEffects BasicAAResult::getMemoryEffects(const Function *F) { in getMemoryEffects() function in BasicAAResult 855 return F->getMemoryEffects(); in getMemoryEffects() 1047 return isModSet(getMemoryEffects(Call2, AAQI).getModRef()) in getModRefInfo() 1052 return isModSet(getMemoryEffects(Call1, AAQI).getModRef()) in getModRefInfo()
|
H A D | TypeBasedAliasAnalysis.cpp | 407 MemoryEffects TypeBasedAAResult::getMemoryEffects(const CallBase *Call, in getMemoryEffects() function in TypeBasedAAResult 421 MemoryEffects TypeBasedAAResult::getMemoryEffects(const Function *F) { in getMemoryEffects() function in TypeBasedAAResult
|
H A D | AliasSetTracker.cpp | 404 ModRefInfo CallMask = AA.getMemoryEffects(Call).getModRef(); in add()
|
H A D | GlobalsModRef.cpp | 240 MemoryEffects GlobalsAAResult::getMemoryEffects(const Function *F) { in getMemoryEffects() function in GlobalsAAResult
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Function.cpp | 855 MemoryEffects Function::getMemoryEffects() const { in getMemoryEffects() function in Function 856 return getAttributes().getMemoryEffects(); in getMemoryEffects() 864 return getMemoryEffects().doesNotAccessMemory(); in doesNotAccessMemory() 872 return getMemoryEffects().onlyReadsMemory(); in onlyReadsMemory() 875 setMemoryEffects(getMemoryEffects() & MemoryEffects::readOnly()); in setOnlyReadsMemory() 880 return getMemoryEffects().onlyWritesMemory(); in onlyWritesMemory() 883 setMemoryEffects(getMemoryEffects() & MemoryEffects::writeOnly()); in setOnlyWritesMemory() 889 return getMemoryEffects().onlyAccessesArgPointees(); in onlyAccessesArgMemory() 892 setMemoryEffects(getMemoryEffects() & MemoryEffects::argMemOnly()); in setOnlyAccessesArgMemory() 898 return getMemoryEffects().onlyAccessesInaccessibleMem(); in onlyAccessesInaccessibleMemory() [all …]
|
H A D | MemoryModelRelaxationAnnotations.cpp | 163 !C->getMemoryEffects().doesNotAccessMemory(); in isReadWriteMemCall()
|
H A D | Attributes.cpp | 483 MemoryEffects Attribute::getMemoryEffects() const { in getMemoryEffects() function in Attribute 613 MemoryEffects ME = getMemoryEffects(); in getAsString() 988 MemoryEffects AttributeSet::getMemoryEffects() const { in getMemoryEffects() function in AttributeSet 989 return SetNode ? SetNode->getMemoryEffects() : MemoryEffects::unknown(); in getMemoryEffects() 1174 MemoryEffects AttributeSetNode::getMemoryEffects() const { in getMemoryEffects() function in AttributeSetNode 1176 return A->getMemoryEffects(); in getMemoryEffects() 1745 MemoryEffects AttributeList::getMemoryEffects() const { in getMemoryEffects() function in AttributeList 1746 return getFnAttrs().getMemoryEffects(); in getMemoryEffects()
|
H A D | Instructions.cpp | 604 MemoryEffects CallBase::getMemoryEffects() const { in getMemoryEffects() function in CallBase 605 MemoryEffects ME = getAttributes().getMemoryEffects(); in getMemoryEffects() 607 MemoryEffects FnME = Fn->getMemoryEffects(); in getMemoryEffects() 625 return getMemoryEffects().doesNotAccessMemory(); in doesNotAccessMemory() 633 return getMemoryEffects().onlyReadsMemory(); in onlyReadsMemory() 636 setMemoryEffects(getMemoryEffects() & MemoryEffects::readOnly()); in setOnlyReadsMemory() 641 return getMemoryEffects().onlyWritesMemory(); in onlyWritesMemory() 644 setMemoryEffects(getMemoryEffects() & MemoryEffects::writeOnly()); in setOnlyWritesMemory() 650 return getMemoryEffects().onlyAccessesArgPointees(); in onlyAccessesArgMemory() 653 setMemoryEffects(getMemoryEffects() & MemoryEffects::argMemOnly()); in setOnlyAccessesArgMemory() [all …]
|
H A D | AttributeImpl.h | 345 MemoryEffects getMemoryEffects() const;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
H A D | DependencyAnalysis.cpp | 51 MemoryEffects ME = PA.getAA()->getMemoryEffects(Call); in CanAlterRefCount()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Attributes.h | 276 MemoryEffects getMemoryEffects() const; 420 MemoryEffects getMemoryEffects() const; 938 MemoryEffects getMemoryEffects() const;
|
H A D | Function.h | 544 MemoryEffects getMemoryEffects() const;
|
H A D | InstrTypes.h | 1977 MemoryEffects getMemoryEffects() const;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 162 MemoryEffects OrigME = AAR.getMemoryEffects(&F); in checkFunctionMemoryAccess() 197 MemoryEffects CallME = AAR.getMemoryEffects(Call); in checkFunctionMemoryAccess() 284 MemoryEffects OldME = F->getMemoryEffects(); in addMemoryAttrs() 684 ModRefInfo ArgMR = CB.getMemoryEffects().getModRef(IRMemLocation::ArgMem); in determinePointerAccessAttrs()
|
H A D | SCCP.cpp | 190 MemoryEffects ME = AL.getMemoryEffects(); in runIPSCCP()
|
H A D | Attributor.cpp | 979 MemoryEffects ME = Attr.getMemoryEffects() & AttrSet.getMemoryEffects(); in addIfNotExistent() 980 if (ME == AttrSet.getMemoryEffects()) in addIfNotExistent() 3059 MemoryEffects ME = NewFn->getMemoryEffects(); in rewriteFunctionSignatures()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVCallLowering.cpp | 62 MemoryEffects MemEffects = F.getMemoryEffects(); in getFunctionControl()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | MachineIRBuilder.cpp | 862 bool HasSideEffects = !Attrs.getMemoryEffects().doesNotAccessMemory(); in buildIntrinsic() 881 bool HasSideEffects = !Attrs.getMemoryEffects().doesNotAccessMemory(); in buildIntrinsic()
|