Home
last modified time | relevance | path

Searched refs:setMemoryEffects (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp858 void Function::setMemoryEffects(MemoryEffects ME) { in setMemoryEffects() function in Function
867 setMemoryEffects(MemoryEffects::none()); in setDoesNotAccessMemory()
875 setMemoryEffects(getMemoryEffects() & MemoryEffects::readOnly()); in setOnlyReadsMemory()
883 setMemoryEffects(getMemoryEffects() & MemoryEffects::writeOnly()); in setOnlyWritesMemory()
892 setMemoryEffects(getMemoryEffects() & MemoryEffects::argMemOnly()); in setOnlyAccessesArgMemory()
901 setMemoryEffects(getMemoryEffects() & MemoryEffects::inaccessibleMemOnly()); in setOnlyAccessesInaccessibleMemory()
910 setMemoryEffects(getMemoryEffects() & in setOnlyAccessesInaccessibleMemOrArgMem()
H A DInstructions.cpp619 void CallBase::setMemoryEffects(MemoryEffects ME) { in setMemoryEffects() function in CallBase
628 setMemoryEffects(MemoryEffects::none()); in setDoesNotAccessMemory()
636 setMemoryEffects(getMemoryEffects() & MemoryEffects::readOnly()); in setOnlyReadsMemory()
644 setMemoryEffects(getMemoryEffects() & MemoryEffects::writeOnly()); in setOnlyWritesMemory()
653 setMemoryEffects(getMemoryEffects() & MemoryEffects::argMemOnly()); in setOnlyAccessesArgMemory()
662 setMemoryEffects(getMemoryEffects() & MemoryEffects::inaccessibleMemOnly()); in setOnlyAccessesInaccessibleMemory()
671 setMemoryEffects(getMemoryEffects() & in setOnlyAccessesInaccessibleMemOrArgMem()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h545 void setMemoryEffects(MemoryEffects ME);
H A DInstrTypes.h1978 void setMemoryEffects(MemoryEffects ME);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp288 F->setMemoryEffects(NewME); in addMemoryAttrs()
H A DAttributor.cpp3066 NewFn->setMemoryEffects(ME - MemoryEffects::argMemOnly()); in rewriteFunctionSignatures()