LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LowerGC.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils/Cloning.h"

Include dependency graph for LowerGC.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "lowergc"

Functions

FunctionPassllvm::createLowerGCPass ()
static void Coerce (Instruction *I, unsigned OpNum, Type *Ty)


Define Documentation

#define DEBUG_TYPE   "lowergc"
 

Definition at line 22 of file LowerGC.cpp.


Function Documentation

static void Coerce Instruction I,
unsigned  OpNum,
Type Ty
[static]
 

Coerce - If the specified operand number of the specified instruction does not have the specified type, insert a cast.

Definition at line 142 of file LowerGC.cpp.

References C, llvm::User::getOperand(), llvm::Value::getType(), and llvm::User::setOperand().


Variable Documentation

RegisterOpt<LowerGC> X("lowergc","Lower GC intrinsics, for GCless code generators") [static]