/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ModRef.h | 192 bool doesNotAccessMemory() const { return Data == 0; } in doesNotAccessMemory() function 202 return getWithoutLoc(Location::ArgMem).doesNotAccessMemory(); in onlyAccessesArgPointees() 212 return getWithoutLoc(Location::InaccessibleMem).doesNotAccessMemory(); in onlyAccessesInaccessibleMem() 220 .doesNotAccessMemory(); in onlyAccessesInaccessibleOrArgMem()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | AliasAnalysis.cpp | 233 if (ME.doesNotAccessMemory()) in getModRefInfo() 284 if (Call1B.doesNotAccessMemory()) in getModRefInfo() 288 if (Call2B.doesNotAccessMemory()) in getModRefInfo() 382 if (Result.doesNotAccessMemory()) in getMemoryEffects() 401 if (Result.doesNotAccessMemory()) in getMemoryEffects() 691 if (Call->doesNotAccessMemory(ArgNo)) in callCapturesBefore()
|
H A D | GlobalsModRef.cpp | 540 if (F->doesNotAccessMemory()) { in AnalyzeCallGraph() 906 if (Call->doesNotAccessMemory()) in getModRefInfoForArgument()
|
H A D | ModuleSummaryAnalysis.cpp | 662 F.doesNotAccessMemory(), F.onlyReadsMemory() && !F.doesNotAccessMemory(), in computeFunctionSummary()
|
H A D | Lint.cpp | 245 if (I.doesNotAccessMemory(ArgNo)) in visitCallBase()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | AliasAnalysis.h | 458 bool doesNotAccessMemory(const CallBase *Call) { 459 return getMemoryEffects(Call).doesNotAccessMemory(); 473 bool doesNotAccessMemory(const Function *F) { 474 return getMemoryEffects(F).doesNotAccessMemory();
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | MemoryModelRelaxationAnnotations.cpp | 163 !C->getMemoryEffects().doesNotAccessMemory(); in isReadWriteMemCall()
|
H A D | Function.cpp | 863 bool Function::doesNotAccessMemory() const { in doesNotAccessMemory() function in Function 864 return getMemoryEffects().doesNotAccessMemory(); in doesNotAccessMemory()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 2096 ExpFn = BaseFn->doesNotAccessMemory() in replacePowWithExp() 2119 const bool UseIntrinsic = Pow->doesNotAccessMemory(); in replacePowWithExp() 2158 if (Pow->doesNotAccessMemory()) in replacePowWithExp() 2172 if (Pow->doesNotAccessMemory()) { in replacePowWithExp() 2199 if (Pow->doesNotAccessMemory()) in replacePowWithExp() 2252 if (!Pow->doesNotAccessMemory() && !Pow->hasNoInfs() && in replacePowWithSqrt() 2257 Sqrt = getSqrtCall(Base, AttributeList(), Pow->doesNotAccessMemory(), Mod, B, in replacePowWithSqrt() 2361 Sqrt = getSqrtCall(Base, AttributeList(), Pow->doesNotAccessMemory(), M, in optimizePow() 2594 Log->doesNotAccessMemory() in optimizeLog() 2620 Value *LogE = Log->doesNotAccessMemory() in optimizeLog() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopVersioningLICM.cpp | 314 if (!AA->doesNotAccessMemory(Call)) { in instructionSafeForVersioning()
|
H A D | GVNSink.cpp | 96 (isa<InvokeInst>(I) && !cast<InvokeInst>(I)->doesNotAccessMemory()) || in isMemoryInst() 97 (isa<CallInst>(I) && !cast<CallInst>(I)->doesNotAccessMemory()); in isMemoryInst()
|
H A D | TailRecursionElimination.cpp | 253 if (!IsNoTail && CI->doesNotAccessMemory()) { in markTails()
|
H A D | GVNHoist.cpp | 228 if (Call->doesNotAccessMemory()) in insert()
|
H A D | GVN.cpp | 491 if (AA->doesNotAccessMemory(C)) { in lookupOrAddCall() 2301 if (AA->doesNotAccessMemory(Call)) in areCallValsEqual()
|
H A D | EarlyCSE.cpp | 136 return CI->doesNotAccessMemory() && !CI->getType()->isVoidTy() && in canHandle()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | FunctionAttrs.cpp | 163 if (OrigME.doesNotAccessMemory()) in checkFunctionMemoryAccess() 200 if (CallME.doesNotAccessMemory()) in checkFunctionMemoryAccess() 698 if (CB.doesNotAccessMemory(UseIndex)) { in determinePointerAccessAttrs()
|
H A D | ThinLTOBitcodeWriter.cpp | 347 .doesNotAccessMemory()) in splitAndWriteThinLTOBitcode()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SafeStack.cpp | 345 if (!(CS.doesNotCapture(A - B) && (CS.doesNotAccessMemory(A - B) || in IsSafeStackAlloca() 346 CS.doesNotAccessMemory()))) { in IsSafeStackAlloca()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Function.h | 548 bool doesNotAccessMemory() const;
|
H A D | InstrTypes.h | 1810 bool doesNotAccessMemory(unsigned OpNo) const { 1981 bool doesNotAccessMemory() const;
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | IntrinsicEmitter.cpp | 531 if (ME.doesNotAccessMemory() && Intrinsic.hasSideEffects) in EmitAttributes()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86WinEHState.cpp | 616 return !Call.doesNotAccessMemory(); in isStateStoreNeeded()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVCallLowering.cpp | 71 if (MemEffects.doesNotAccessMemory()) 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyRegStackify.cpp | 149 if (F->doesNotAccessMemory()) in queryCallee()
|