/external/llvm/lib/IR/ |
ConstantFold.h | 1 //===-- ConstantFolding.h - Internal Constant Folding Interface -*- C++ -*-===// 10 // This file defines the (internal) constant folding interfaces for LLVM. These 15 // the specified operation on the specified constant types. 25 class Constant; 28 // Constant fold various types of instruction... 29 Constant *ConstantFoldCastInstruction( 31 Constant *V, ///< The source constant 34 Constant *ConstantFoldSelectInstruction(Constant *Cond [all...] |
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
ConstantFold.h | 1 //===-- ConstantFolding.h - Internal Constant Folding Interface -*- C++ -*-===// 10 // This file defines the (internal) constant folding interfaces for LLVM. These 15 // the specified operation on the specified constant types. 26 class Constant; 29 // Constant fold various types of instruction... 30 Constant *ConstantFoldCastInstruction( 32 Constant *V, ///< The source constant 35 Constant *ConstantFoldSelectInstruction(Constant *Cond [all...] |
/external/clang/test/SemaTemplate/ |
instantiation-default-2.cpp | 3 template<typename T, T Value> struct Constant; // expected-note{{template parameter is declared here}} \ 6 Constant<int, 5> *c1; 11 Constant<int&, x> *c2; 12 Constant<int*, &x> *c3; 13 Constant<float (*)(int, double), f> *c4; 14 Constant<float (*)(int, double), &f> *c5; 16 Constant<float (*)(int, int), f> *c6; // expected-error{{non-type template argument of type 'float (int, double)' cannot be converted to a value of type 'float (*)(int, int)'}} 18 Constant<float, 0> *c7; // expected-note{{while substituting}}
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 27 class Constant; 37 /// If this constant is a constant offset from a global, return the global and 38 /// the constant. Because of constantexprs, this function is recursive. 39 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 42 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 43 /// If successful, the constant result is returned, if not, null is returned. 44 /// Note that this fails if not all of the operands are constant. Otherwise, 46 /// and stores, which have no constant expression form. 47 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL [all...] |
TargetFolder.h | 1 //====- TargetFolder.h - Constant folding helper ---------------*- C++ -*-====// 13 // folding that the ConstantFolder class provides. For general constant 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { 37 if (Constant *CF = ConstantFoldConstant(C, DL)) 49 Constant *CreateAdd(Constant *LHS, Constant *RHS, 53 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 27 class Constant; 37 /// If this constant is a constant offset from a global, return the global and 38 /// the constant. Because of constantexprs, this function is recursive. 39 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 42 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 43 /// If successful, the constant result is returned, if not, null is returned. 44 /// Note that this fails if not all of the operands are constant. Otherwise, 46 /// and stores, which have no constant expression form. 47 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL [all...] |
TargetFolder.h | 1 //====- TargetFolder.h - Constant folding helper ---------------*- C++ -*-====// 13 // folding that the ConstantFolder class provides. For general constant 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { 37 if (Constant *CF = ConstantFoldConstant(C, DL)) 49 Constant *CreateAdd(Constant *LHS, Constant *RHS, 53 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 27 class Constant; 37 /// If this constant is a constant offset from a global, return the global and 38 /// the constant. Because of constantexprs, this function is recursive. 39 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 42 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 43 /// If successful, the constant result is returned, if not, null is returned. 44 /// Note that this fails if not all of the operands are constant. Otherwise, 46 /// and stores, which have no constant expression form. 47 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL [all...] |
TargetFolder.h | 1 //====- TargetFolder.h - Constant folding helper ---------------*- C++ -*-====// 13 // folding that the ConstantFolder class provides. For general constant 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { 37 if (Constant *CF = ConstantFoldConstant(C, DL)) 49 Constant *CreateAdd(Constant *LHS, Constant *RHS, 53 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 27 class Constant; 37 /// If this constant is a constant offset from a global, return the global and 38 /// the constant. Because of constantexprs, this function is recursive. 39 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 42 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 43 /// If successful, the constant result is returned, if not, null is returned. 44 /// Note that this fails if not all of the operands are constant. Otherwise, 46 /// and stores, which have no constant expression form. 47 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL [all...] |
TargetFolder.h | 1 //====- TargetFolder.h - Constant folding helper ---------------*- C++ -*-====// 13 // folding that the ConstantFolder class provides. For general constant 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { 37 if (Constant *CF = ConstantFoldConstant(C, DL)) 49 Constant *CreateAdd(Constant *LHS, Constant *RHS, 53 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const [all...] |
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 27 class Constant; 37 /// If this constant is a constant offset from a global, return the global and 38 /// the constant. Because of constantexprs, this function is recursive. 39 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 42 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 43 /// If successful, the constant result is returned, if not, null is returned. 44 /// Note that this fails if not all of the operands are constant. Otherwise, 46 /// and stores, which have no constant expression form. 47 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL [all...] |
TargetFolder.h | 1 //====- TargetFolder.h - Constant folding helper ---------------*- C++ -*-====// 13 // folding that the ConstantFolder class provides. For general constant 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { 37 if (Constant *CF = ConstantFoldConstant(C, DL)) 49 Constant *CreateAdd(Constant *LHS, Constant *RHS, 53 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const [all...] |
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 27 class Constant; 37 /// If this constant is a constant offset from a global, return the global and 38 /// the constant. Because of constantexprs, this function is recursive. 39 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 42 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 43 /// If successful, the constant result is returned, if not, null is returned. 44 /// Note that this fails if not all of the operands are constant. Otherwise, 46 /// and stores, which have no constant expression form. 47 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL [all...] |
TargetFolder.h | 1 //====- TargetFolder.h - Constant folding helper ---------------*- C++ -*-====// 13 // folding that the ConstantFolder class provides. For general constant 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { 37 if (Constant *CF = ConstantFoldConstant(C, DL)) 49 Constant *CreateAdd(Constant *LHS, Constant *RHS, 53 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const [all...] |
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 27 class Constant; 37 /// If this constant is a constant offset from a global, return the global and 38 /// the constant. Because of constantexprs, this function is recursive. 39 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 42 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 43 /// If successful, the constant result is returned, if not, null is returned. 44 /// Note that this fails if not all of the operands are constant. Otherwise, 46 /// and stores, which have no constant expression form. 47 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL [all...] |
TargetFolder.h | 1 //====- TargetFolder.h - Constant folding helper ---------------*- C++ -*-====// 13 // folding that the ConstantFolder class provides. For general constant 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { 37 if (Constant *CF = ConstantFoldConstant(C, DL)) 49 Constant *CreateAdd(Constant *LHS, Constant *RHS, 53 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 27 class Constant; 37 /// If this constant is a constant offset from a global, return the global and 38 /// the constant. Because of constantexprs, this function is recursive. 39 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 42 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 43 /// If successful, the constant result is returned, if not, null is returned. 44 /// Note that this fails if not all of the operands are constant. Otherwise, 46 /// and stores, which have no constant expression form. 47 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL [all...] |
TargetFolder.h | 1 //====- TargetFolder.h - Constant folding helper ---------------*- C++ -*-====// 13 // folding that the ConstantFolder class provides. For general constant 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { 37 if (Constant *CF = ConstantFoldConstant(C, DL)) 49 Constant *CreateAdd(Constant *LHS, Constant *RHS, 53 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
ConstantFolding.h | 24 class Constant; 33 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 34 /// If successful, the constant result is returned, if not, null is returned. 35 /// Note that this fails if not all of the operands are constant. Otherwise, 37 /// and stores, which have no constant expression form. 38 Constant *ConstantFoldInstruction(Instruction *I, const TargetData *TD = 0); 40 /// ConstantFoldConstantExpression - Attempt to fold the constant expression 41 /// using the specified TargetData. If successful, the constant result is 43 Constant *ConstantFoldConstantExpression(const ConstantExpr *CE, 46 /// ConstantFoldInstOperands - Attempt to constant fold an instruction with th [all...] |
/external/llvm/include/llvm/Analysis/ |
ConstantFolding.h | 26 class Constant; 35 /// If this constant is a constant offset from a global, return the global and 36 /// the constant. Because of constantexprs, this function is recursive. 37 bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, 40 /// ConstantFoldInstruction - Try to constant fold the specified instruction. 41 /// If successful, the constant result is returned, if not, null is returned. 42 /// Note that this fails if not all of the operands are constant. Otherwise, 44 /// and stores, which have no constant expression form. 45 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL [all...] |
TargetFolder.h | 1 //====- TargetFolder.h - Constant folding helper ---------------*- C++ -*-====// 13 // folding that the ConstantFolder class provides. For general constant 35 /// Fold - Fold the constant using target specific information. 36 Constant *Fold(Constant *C) const { 38 if (Constant *CF = ConstantFoldConstantExpression(CE, DL)) 50 Constant *CreateAdd(Constant *LHS, Constant *RHS, 54 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
ConstantPool.java | 20 * Interface for constant pools, which are, more or less, just lists of 21 * {@link Constant} objects. 25 * Get the "size" of the constant pool. This corresponds to the 27 * always at least one more than the actual size of the constant pool, 35 * Get the {@code n}th entry in the constant pool, which must 38 * @param n {@code n >= 0, n < size();} the constant pool index 43 public Constant get(int n); 46 * Get the {@code n}th entry in the constant pool, which must 50 * @param n {@code n >= 0, n < size();} the constant pool index 55 public Constant get0Ok(int n) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ |
Constants.h | 1 //===-- llvm/Constants.h - Constant class subclass definitions --*- C++ -*-===// 11 /// This file contains the declarations for the subclasses of Constant, 12 /// which represent the different flavors of constant values that live in LLVM. 15 /// equivalent constants will always have the same address. Constant's are 24 #include "llvm/Constant.h" 46 /// @brief Class for constant integers. 47 class ConstantInt : public Constant { 60 static Constant *getTrue(Type *Ty); 61 static Constant *getFalse(Type *Ty); 63 /// If Ty is a vector type, return a Constant with a splat of the give [all...] |
/external/llvm/include/llvm/IR/ |
ConstantFolder.h | 1 //===- ConstantFolder.h - Constant folding helper ---------------*- C++ -*-===// 12 // with minimal folding. For general constant creation and folding, 34 Constant *CreateAdd(Constant *LHS, Constant *RHS, 38 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { 41 Constant *CreateSub(Constant *LHS, Constant *RHS [all...] |