Home
last modified time | relevance | path

Searched refs:getMemoryEffects (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h442 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 DObjCARCAliasAnalysis.h58 using AAResultBase::getMemoryEffects;
59 MemoryEffects getMemoryEffects(const Function *F);
H A DTypeBasedAliasAnalysis.h46 MemoryEffects getMemoryEffects(const CallBase *Call, AAQueryInfo &AAQI);
47 MemoryEffects getMemoryEffects(const Function *F);
H A DGlobalsModRef.h103 using AAResultBase::getMemoryEffects;
107 MemoryEffects getMemoryEffects(const Function *F);
H A DBasicAliasAnalysis.h94 MemoryEffects getMemoryEffects(const CallBase *Call, AAQueryInfo &AAQI);
98 MemoryEffects getMemoryEffects(const Function *Fn);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DObjCARCAliasAnalysis.cpp102 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 DAliasAnalysis.cpp231 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 DBasicAliasAnalysis.cpp825 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 DTypeBasedAliasAnalysis.cpp407 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 DAliasSetTracker.cpp404 ModRefInfo CallMask = AA.getMemoryEffects(Call).getModRef(); in add()
H A DGlobalsModRef.cpp240 MemoryEffects GlobalsAAResult::getMemoryEffects(const Function *F) { in getMemoryEffects() function in GlobalsAAResult
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp855 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 DMemoryModelRelaxationAnnotations.cpp163 !C->getMemoryEffects().doesNotAccessMemory(); in isReadWriteMemCall()
H A DAttributes.cpp483 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 DInstructions.cpp604 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 DAttributeImpl.h345 MemoryEffects getMemoryEffects() const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DDependencyAnalysis.cpp51 MemoryEffects ME = PA.getAA()->getMemoryEffects(Call); in CanAlterRefCount()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h276 MemoryEffects getMemoryEffects() const;
420 MemoryEffects getMemoryEffects() const;
938 MemoryEffects getMemoryEffects() const;
H A DFunction.h544 MemoryEffects getMemoryEffects() const;
H A DInstrTypes.h1977 MemoryEffects getMemoryEffects() const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp162 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 DSCCP.cpp190 MemoryEffects ME = AL.getMemoryEffects(); in runIPSCCP()
H A DAttributor.cpp979 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 DSPIRVCallLowering.cpp62 MemoryEffects MemEffects = F.getMemoryEffects(); in getFunctionControl()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DMachineIRBuilder.cpp862 bool HasSideEffects = !Attrs.getMemoryEffects().doesNotAccessMemory(); in buildIntrinsic()
881 bool HasSideEffects = !Attrs.getMemoryEffects().doesNotAccessMemory(); in buildIntrinsic()

12