LLVM  8.0.1
Functions
ModuleUtils.cpp File Reference
#include "llvm/Transforms/Utils/ModuleUtils.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for ModuleUtils.cpp:

Go to the source code of this file.

Functions

static void appendToGlobalArray (const char *Array, Module &M, Function *F, int Priority, Constant *Data)
 
static void appendToUsedList (Module &M, StringRef Name, ArrayRef< GlobalValue *> Values)
 

Function Documentation

◆ appendToGlobalArray()

static void appendToGlobalArray ( const char Array,
Module M,
Function F,
int  Priority,
Constant Data 
)
static

◆ appendToUsedList()

static void appendToUsedList ( Module M,
StringRef  Name,
ArrayRef< GlobalValue *>  Values 
)
static