Lines Matching refs:Function
79 #include "llvm/IR/Function.h"
174 bool runOnFunction(Function &F);
188 /// \brief Thread-local shadow storage for function parameters.
190 /// \brief Thread-local origin storage for function parameters.
192 /// \brief Thread-local shadow storage for function return value.
194 /// \brief Thread-local origin storage for function return value.
196 /// \brief Thread-local shadow storage for in-register va_arg function
203 /// function.
213 /// \brief Run-time helper that poisons stack on function entry.
271 // FIXME: this function should have "Cold" calling conv,
362 appendToGlobalCtors(M, cast<Function>(M.getOrInsertFunction(
380 /// necessary to propagate argument shadow through VarArg function
382 /// the function, and should avoid creating new basic blocks. A new
383 /// instance of this class is created for each instrumented function.
394 /// \brief Finalize function instrumentation.
397 /// instructions in a function.
406 CreateVarArgHelper(Function &Func, MemorySanitizer &Msan,
409 /// This class does all the work for a given function. Store and Load
416 Function &F;
435 MemorySanitizerVisitor(Function &F, MemorySanitizer &MS)
522 /// \brief Add MemorySanitizer instrumentation to a function.
641 /// \brief Compute the shadow address for a given function argument.
652 /// \brief Compute the origin address for a given function argument.
719 /// This function either returns the value set earlier with setShadow,
720 /// or extracts if from ParamTLS (for function arguments).
743 Function *F = A->getParent();
746 for (Function::arg_iterator AI = F->arg_begin(), AE = F->arg_end();
1208 /// This function does exact shadow propagation for all relational
1525 Function *BswapFunc = Intrinsic::getDeclaration(
1566 // will become a non-readonly function after it is instrumented by us. To
1567 // prevent this code from being optimized out, mark that function
1569 if (Function *Func = Call->getCalledFunction()) {
1807 Function &F;
1815 VarArgAMD64Helper(Function &F, MemorySanitizer &MS,
1911 // If there is a va_start in this function, make a backup copy of
1912 // va_arg_tls somewhere in the function entry block.
1955 VarArgHelper* CreateVarArgHelper(Function &Func, MemorySanitizer &Msan,
1962 bool MemorySanitizer::runOnFunction(Function &F) {