LLVM  mainline
Defines | Functions
InstCombineAddSub.cpp File Reference
#include "InstCombineInternal.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Analysis/InstructionSimplify.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/GetElementPtrTypeIterator.h"
#include "llvm/IR/PatternMatch.h"
Include dependency graph for InstCombineAddSub.cpp:

Go to the source code of this file.


#define DEBUG_TYPE   "instcombine"


static bool checkRippleForAdd (const APInt &Op0KnownZero, const APInt &Op1KnownZero)
static ValuecheckForNegativeOperand (BinaryOperator &I, InstCombiner::BuilderTy *Builder)

Define Documentation

#define DEBUG_TYPE   "instcombine"

Definition at line 24 of file InstCombineAddSub.cpp.

Function Documentation

static Value* checkForNegativeOperand ( BinaryOperator I,
InstCombiner::BuilderTy Builder 
) [static]
static bool checkRippleForAdd ( const APInt Op0KnownZero,
const APInt Op1KnownZero 
) [static]