• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/

Lines Matching refs:Constant

1 //======-- llvm/Support/NoFolder.h - Constant folding helper -*- C++ -*-======//
40 Instruction *CreateAdd(Constant *LHS, Constant *RHS,
47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const {
50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const {
53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const {
56 Instruction *CreateSub(Constant *LHS, Constant *RHS,
63 Instruction *CreateNSWSub(Constant *LHS, Constant *RHS) const {
66 Instruction *CreateNUWSub(Constant *LHS, Constant *RHS) const {
69 Instruction *CreateFSub(Constant *LHS, Constant *RHS) const {
72 Instruction *CreateMul(Constant *LHS, Constant *RHS,
79 Instruction *CreateNSWMul(Constant *LHS, Constant *RHS) const {
82 Instruction *CreateNUWMul(Constant *LHS, Constant *RHS) const {
85 Instruction *CreateFMul(Constant *LHS, Constant *RHS) const {
88 Instruction *CreateUDiv(Constant *LHS, Constant *RHS,
94 Instruction *CreateExactUDiv(Constant *LHS, Constant *RHS) const {
97 Instruction *CreateSDiv(Constant *LHS, Constant *RHS,
103 Instruction *CreateExactSDiv(Constant *LHS, Constant *RHS) const {
106 Instruction *CreateFDiv(Constant *LHS, Constant *RHS) const {
109 Instruction *CreateURem(Constant *LHS, Constant *RHS) const {
112 Instruction *CreateSRem(Constant *LHS, Constant *RHS) const {
115 Instruction *CreateFRem(Constant *LHS, Constant *RHS) const {
118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false,
125 Instruction *CreateLShr(Constant *LHS, Constant *RHS,
131 Instruction *CreateAShr(Constant *LHS, Constant *RHS,
137 Instruction *CreateAnd(Constant *LHS, Constant *RHS) const {
140 Instruction *CreateOr(Constant *LHS, Constant *RHS) const {
143 Instruction *CreateXor(Constant *LHS, Constant *RHS) const {
148 Constant *LHS, Constant *RHS) const {
156 Instruction *CreateNeg(Constant *C,
163 Instruction *CreateNSWNeg(Constant *C) const {
166 Instruction *CreateNUWNeg(Constant *C) const {
169 Instruction *CreateFNeg(Constant *C) const {
172 Instruction *CreateNot(Constant *C) const {
180 Constant *CreateGetElementPtr(Constant *C,
181 ArrayRef<Constant *> IdxList) const {
184 Constant *CreateGetElementPtr(Constant *C, Constant *Idx) const {
186 // warnings about whether to convert Idx to ArrayRef<Constant *> or
190 Instruction *CreateGetElementPtr(Constant *C,
195 Constant *CreateInBoundsGetElementPtr(Constant *C,
196 ArrayRef<Constant *> IdxList) const {
199 Constant *CreateInBoundsGetElementPtr(Constant *C, Constant *Idx) const {
201 // warnings about whether to convert Idx to ArrayRef<Constant *> or
205 Instruction *CreateInBoundsGetElementPtr(Constant *C,
214 Instruction *CreateCast(Instruction::CastOps Op, Constant *C,
218 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const {
221 Instruction *CreateIntCast(Constant *C, Type *DestTy,
225 Instruction *CreateFPCast(Constant *C, Type *DestTy) const {
229 Instruction *CreateBitCast(Constant *C, Type *DestTy) const {
232 Instruction *CreateIntToPtr(Constant *C, Type *DestTy) const {
235 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const {
238 Instruction *CreateZExtOrBitCast(Constant *C, Type *DestTy) const {
241 Instruction *CreateSExtOrBitCast(Constant *C, Type *DestTy) const {
245 Instruction *CreateTruncOrBitCast(Constant *C, Type *DestTy) const {
254 Constant *LHS, Constant *RHS) const {
258 Constant *LHS, Constant *RHS) const {
266 Instruction *CreateSelect(Constant *C,
267 Constant *True, Constant *False) const {
271 Instruction *CreateExtractElement(Constant *Vec, Constant *Idx) const {
275 Instruction *CreateInsertElement(Constant *Vec, Constant *NewElt,
276 Constant *Idx) const {
280 Instruction *CreateShuffleVector(Constant *V1, Constant *V2,
281 Constant *Mask) const {
285 Instruction *CreateExtractValue(Constant *Agg,
290 Instruction *CreateInsertValue(Constant *Agg, Constant *Val,