LLVM API Documentation

Defines | Functions
InstCombineAddSub.cpp File Reference
#include "InstCombine.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.

Defines

#define DEBUG_TYPE   "instcombine"

Functions

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 23 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]