LLVM  4.0.0
Macros | Functions | Variables
AArch64AddressTypePromotion.cpp File Reference
#include "AArch64.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for AArch64AddressTypePromotion.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "aarch64-type-promotion"
 
#define AARCH64_TYPE_PROMO_NAME   "AArch64 Address Type Promotion"
 

Functions

 INITIALIZE_PASS_BEGIN (AArch64AddressTypePromotion,"aarch64-type-promotion", AARCH64_TYPE_PROMO_NAME, false, false) INITIALIZE_PASS_END(AArch64AddressTypePromotion
 
static bool shouldSExtOperand (const Instruction *Inst, int OpIdx)
 

Variables

static cl::opt< boolEnableMerge ("aarch64-type-promotion-merge", cl::Hidden, cl::desc("Enable merging of redundant sexts when one is dominating"" the other."), cl::init(true))
 
aarch64 type promotion
 
aarch64 type AARCH64_TYPE_PROMO_NAME
 
aarch64 type false
 

Macro Definition Documentation

#define AARCH64_TYPE_PROMO_NAME   "AArch64 Address Type Promotion"

Definition at line 55 of file AArch64AddressTypePromotion.cpp.

#define DEBUG_TYPE   "aarch64-type-promotion"

Definition at line 47 of file AArch64AddressTypePromotion.cpp.

Function Documentation

INITIALIZE_PASS_BEGIN ( AArch64AddressTypePromotion  ,
"aarch64-type-promotion ,
AARCH64_TYPE_PROMO_NAME  ,
false  ,
false   
)
static bool shouldSExtOperand ( const Instruction Inst,
int  OpIdx 
)
static

Definition at line 198 of file AArch64AddressTypePromotion.cpp.

Variable Documentation

aarch64 type AARCH64_TYPE_PROMO_NAME

Definition at line 139 of file AArch64AddressTypePromotion.cpp.

cl::opt<bool> EnableMerge("aarch64-type-promotion-merge", cl::Hidden, cl::desc("Enable merging of redundant sexts when one is dominating"" the other."), cl::init(true))
static
aarch64 type false

Definition at line 139 of file AArch64AddressTypePromotion.cpp.

aarch64 type promotion

Definition at line 139 of file AArch64AddressTypePromotion.cpp.