X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FVMCore%2FConstantFold.h;h=ee3c64cc59877b458c1f951433a050613796f17b;hb=2f8bbf5d65cf7514cdc0821f14a81f4cf2b0a3ac;hp=2824979cf4431b30e0763dc91a87695c86a57ee6;hpb=81dfeb3264d3c1f619c3f73046ded1ac6883e59d;p=oota-llvm.git diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h index 2824979cf44..ee3c64cc598 100644 --- a/lib/VMCore/ConstantFold.h +++ b/lib/VMCore/ConstantFold.h @@ -45,6 +45,8 @@ namespace llvm { const Constant *Mask); Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1, const Constant *V2); + Constant *ConstantFoldCompare(unsigned opcode, Constant *C1, Constant *C2, + unsigned short predicate); Constant *ConstantFoldGetElementPtr(const Constant *C, const std::vector &IdxList); } // End llvm namespace