HomeSort by relevance Sort by last modified time
    Searched refs:Constant (Results 1 - 25 of 947) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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.
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}}
  /external/llvm/include/llvm/Analysis/
ConstantFolding.h 24 class Constant;
34 /// ConstantFoldInstruction - Try to constant fold the specified instruction.
35 /// If successful, the constant result is returned, if not, null is returned.
36 /// Note that this fails if not all of the operands are constant. Otherwise,
38 /// and stores, which have no constant expression form.
39 Constant *ConstantFoldInstruction(Instruction *I, const DataLayout &DL,
42 /// ConstantFoldConstantExpression - Attempt to fold the constant expression
43 /// using the specified DataLayout. If successful, the constant result is
45 Constant *
49 /// ConstantFoldInstOperands - Attempt to constant fold an instruction with th
    [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...]
Constant.java 24 public abstract class Constant
25 implements ToHuman, Comparable<Constant> {
27 * Returns {@code true} if this instance is a category-2 constant,
28 * meaning it takes up two slots in the constant pool, or
36 * Returns the human name for the particular type of constant
48 public final int compareTo(Constant other) {
67 protected abstract int compareTo0(Constant other);
StdConstantPool.java 25 * an array of {@link Constant} objects and can be made immutable.
30 private final Constant[] entries;
37 * always at least one more than the actual size of the constant pool,
47 entries = new Constant[size];
56 public Constant getOrNull(int n) {
66 public Constant get0Ok(int n) {
75 public Constant get(int n) {
77 Constant result = entries[n];
91 * Get all entries in this constant pool.
95 public Constant[] getEntries()
    [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...]
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.
27 #include "llvm/IR/Constant.h"
46 /// @brief Class for constant integers.
47 class ConstantInt : public Constant {
54 friend class Constant;
66 static Constant *getTrue(Type *Ty);
67 static Constant *getFalse(Type *Ty);
69 /// If Ty is a vector type, return a Constant with a splat of the give
    [all...]
Constant.h 1 //===-- llvm/Constant.h - Constant class definition -------------*- C++ -*-===//
10 // This file contains the declaration of the Constant class.
25 /// of all constant values in an LLVM program. A constant is a value that is
32 /// or expression based (computations yielding a constant value composed of
33 /// only certain operators and other constant values).
40 /// @brief LLVM Constant Representation
41 class Constant : public User {
42 void operator=(const Constant &) = delete
    [all...]
NoFolder.h 1 //===- NoFolder.h - Constant folding helper ---------------------*- C++ -*-===//
13 // want details to be hidden by the constant folder. For general constant
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
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/scanner/
ConstantTest.java 23 assertTrue(Constant.LINEBR.has('\n'));
24 assertTrue(Constant.LINEBR.has('\u0085'));
25 assertFalse(Constant.LINEBR.has(' '));
29 assertTrue(Constant.LINEBR.has(' ', " "));
33 assertTrue(Constant.LINEBR.has((char) 0, "\0"));
  /dalvik/dexgen/src/com/android/dexgen/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...]
Constant.java 24 public abstract class Constant
25 implements ToHuman, Comparable<Constant> {
27 * Returns {@code true} if this instance is a category-2 constant,
28 * meaning it takes up two slots in the constant pool, or
36 * Returns the human name for the particular type of constant
48 public final int compareTo(Constant other) {
67 protected abstract int compareTo0(Constant other);
  /external/dexmaker/src/dx/java/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...]
Constant.java 24 public abstract class Constant
25 implements ToHuman, Comparable<Constant> {
27 * Returns {@code true} if this instance is a category-2 constant,
28 * meaning it takes up two slots in the constant pool, or
36 * Returns the human name for the particular type of constant
48 public final int compareTo(Constant other) {
67 protected abstract int compareTo0(Constant other);
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/
Constant.java 20 public final class Constant {
31 public final static Constant LINEBR = new Constant(LINEBR_S);
32 public final static Constant FULL_LINEBR = new Constant(FULL_LINEBR_S);
33 public final static Constant NULL_OR_LINEBR = new Constant(NULL_OR_LINEBR_S);
34 public final static Constant NULL_BL_LINEBR = new Constant(NULL_BL_LINEBR_S);
35 public final static Constant NULL_BL_T_LINEBR = new Constant(NULL_BL_T_LINEBR_S)
    [all...]
  /dalvik/dx/src/com/android/dx/cf/attrib/
AttAnnotationDefault.java 19 import com.android.dx.rop.cst.Constant;
29 private final Constant value;
42 public AttAnnotationDefault(Constant value, int byteLength) {
64 public Constant getValue() {
  /external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
Constant.java 27 public class Constant {
  /frameworks/base/core/java/android/os/health/
UidHealthStats.java 34 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
41 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
48 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
55 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
63 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
71 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
74 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
82 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
89 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
96 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS
    [all...]
ProcessHealthStats.java 33 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
40 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
46 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
52 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
58 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
65 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
PidHealthStats.java 47 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
60 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
73 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
  /external/clang/test/Sema/
format-strings-enum.c 15 typedef enum { Constant = 0 } TestEnum;
16 // Note that in C, the type of 'Constant' is 'int'. In C++ it is 'TestEnum'.
21 printf("%d", Constant); // no-warning
24 printf("%lld", Constant); // expected-warning{{format specifies type 'long long'}}
  /dalvik/dexgen/src/com/android/dexgen/rop/code/
CstInsn.java 19 import com.android.dexgen.rop.cst.Constant;
22 * Instruction which contains an explicit reference to a constant.
26 /** {@code non-null;} the constant */
27 private final Constant cst;
36 * @param cst {@code non-null;} constant
39 RegisterSpecList sources, Constant cst) {
56 * Gets the constant.
58 * @return {@code non-null;} the constant
60 public Constant getConstant() {
  /dalvik/dx/src/com/android/dx/rop/code/
CstInsn.java 19 import com.android.dx.rop.cst.Constant;
22 * Instruction which contains an explicit reference to a constant.
26 /** {@code non-null;} the constant */
27 private final Constant cst;
36 * @param cst {@code non-null;} constant
39 RegisterSpecList sources, Constant cst) {
56 * Gets the constant.
58 * @return {@code non-null;} the constant
60 public Constant getConstant() {

Completed in 500 milliseconds

1 2 3 4 5 6 7 8 91011>>