//===-- Instrumentation.cpp - TransformUtils Infrastructure ---------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file defines the common initialization infrastructure for the
// Instrumentation library.
//
//===----------------------------------------------------------------------===//
using namespace llvm;
/// Moves I before IP. Returns new insert point.
static BasicBlock::iterator
/// Instrumentation passes often insert conditional checks into entry blocks.
/// Call this function before splitting the entry block to move instructions
/// that must remain in the entry block up before the split point. Static
/// allocas and llvm.localescape calls, for example, must remain in the entry
/// block.
BasicBlock::iterator
// Create a constant for Str so that we can pass it to the run-time lib.
GlobalVariable *
Comdat *
/// initializeInstrumentation - Initialize all passes in the TransformUtils
/// library.
void
/// LLVMInitializeInstrumentation - C binding for
/// initializeInstrumentation.
void