X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FIR%2FConstantFold.h;h=42a9c6ba908a8bb63421280673ba0c066e2a5e75;hb=3f1c66ca7df09f54022f19f5233901dc049d5a0f;hp=e12f27a7cb1ead40b9e0805e7b638937f52dd2c2;hpb=c2c50cdcdc19a1bca993c06d13d8cdca87083ce4;p=oota-llvm.git diff --git a/lib/IR/ConstantFold.h b/lib/IR/ConstantFold.h index e12f27a7cb1..42a9c6ba908 100644 --- a/lib/IR/ConstantFold.h +++ b/lib/IR/ConstantFold.h @@ -16,8 +16,8 @@ // //===----------------------------------------------------------------------===// -#ifndef CONSTANTFOLDING_H -#define CONSTANTFOLDING_H +#ifndef LLVM_LIB_IR_CONSTANTFOLD_H +#define LLVM_LIB_IR_CONSTANTFOLD_H #include "llvm/ADT/ArrayRef.h" @@ -51,6 +51,10 @@ namespace llvm { ArrayRef Idxs); Constant *ConstantFoldGetElementPtr(Constant *C, bool inBounds, ArrayRef Idxs); + Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool inBounds, + ArrayRef Idxs); + Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool inBounds, + ArrayRef Idxs); } // End llvm namespace #endif