/external/clang/test/CodeGen/ |
builtins-mips-args.c | 8 __builtin_mips_wrdsp(2052, a); // expected-error{{argument to '__builtin_mips_wrdsp' must be a constant integer}} 9 __builtin_mips_rddsp(a); // expected-error{{argument to '__builtin_mips_rddsp' must be a constant integer}} 17 __builtin_mips_append(1, 2, a); // expected-error{{argument to '__builtin_mips_append' must be a constant integer}} 18 __builtin_mips_balign(1, 2, a); // expected-error{{argument to '__builtin_mips_balign' must be a constant integer}} 19 __builtin_mips_precr_sra_ph_w(1, 2, a); // expected-error{{argument to '__builtin_mips_precr_sra_ph_w' must be a constant integer}} 20 __builtin_mips_precr_sra_r_ph_w(1, 2, a); // expected-error{{argument to '__builtin_mips_precr_sra_r_ph_w' must be a constant integer}} 21 __builtin_mips_prepend(1, 2, a); // expected-error{{argument to '__builtin_mips_prepend' must be a constant integer}}
|
annotations-global.c | 18 // FOOS: private unnamed_addr constant [7 x i8] c"sfoo_{{.}}\00", section "llvm.metadata" 19 // FOOS: private unnamed_addr constant [7 x i8] c"sfoo_{{.}}\00", section "llvm.metadata" 24 // FOO: private unnamed_addr constant [6 x i8] c"foo_{{.}}\00", section "llvm.metadata" 25 // FOO: private unnamed_addr constant [6 x i8] c"foo_{{.}}\00", section "llvm.metadata" 30 // A: private unnamed_addr constant [8 x i8] c"ann_a_{{.}}\00", section "llvm.metadata" 31 // A: private unnamed_addr constant [8 x i8] c"ann_a_{{.}}\00", section "llvm.metadata" 32 // A: private unnamed_addr constant [8 x i8] c"ann_a_{{.}}\00", section "llvm.metadata" 33 // A: private unnamed_addr constant [8 x i8] c"ann_a_{{.}}\00", section "llvm.metadata" 38 // BAR: private unnamed_addr constant [6 x i8] c"bar_{{.}}\00", section "llvm.metadata" 39 // BAR: private unnamed_addr constant [6 x i8] c"bar_{{.}}\00", section "llvm.metadata [all...] |
/external/clang/test/CodeGenObjCXX/ |
rtti.mm | 7 // CHECK: @_ZTI1A = linkonce_odr unnamed_addr constant {{.*}}@_ZTVN10__cxxabiv117__class_type_infoE{{.*}}@_ZTS1A 11 // CHECK: @_ZTI1B = linkonce_odr unnamed_addr constant {{.*}}@_ZTVN10__cxxabiv120__si_class_type_infoE{{.*}}@_ZTS1B{{.*}}@_ZTI1A 15 // CHECK: @_ZTIP1B = linkonce_odr unnamed_addr constant {{.*}}@_ZTVN10__cxxabiv119__pointer_type_infoE{{.*}}@_ZTSP1B{{.*}}), i32 0, {{.*}}@_ZTI1B 16 // CHECK: @_ZTI11objc_object = linkonce_odr unnamed_addr constant {{.*}}@_ZTVN10__cxxabiv117__class_type_infoE{{.*}}@_ZTS11objc_object 17 // CHECK: @_ZTIP11objc_object = linkonce_odr unnamed_addr constant {{.*}}@_ZTVN10__cxxabiv119__pointer_type_infoE{{.*}}@_ZTSP11objc_object{{.*}}@_ZTI11objc_object 18 // CHECK: @_ZTI10objc_class = linkonce_odr unnamed_addr constant {{.*}}@_ZTVN10__cxxabiv117__class_type_infoE{{.*}}@_ZTS10objc_class 19 // CHECK: @_ZTIP10objc_class = linkonce_odr unnamed_addr constant {{.*}}@_ZTVN10__cxxabiv119__pointer_type_infoE{{.*}}@_ZTSP10objc_class{{.*}}@_ZTI10objc_class
|
/external/clang/test/Lexer/ |
constants.c | 18 #if 9223372036854775808 // expected-warning {{integer constant is larger than the largest signed integer type}} 20 #if 0x10000000000000000 // expected-error {{integer constant is larger than the largest unsigned integer type}} 24 'df', // expected-warning {{multi-character character constant}} 29 'abcd' // expected-warning {{multi-character character constant}} 34 int m1 = '\\\''; // expected-warning {{multi-character character constant}} 35 int m2 = '\\\\'; // expected-warning {{multi-character character constant}} 43 int e = 'abcd'; // still warn: expected-warning {{multi-character character constant}}
|
char-literal.cpp | 10 int a = 'ab'; // expected-warning {{multi-character character constant}} 11 int b = '\xFF\xFF'; // expected-warning {{multi-character character constant}} 12 int c = 'APPS'; // expected-warning {{multi-character character constant}} 18 auto f = '\xE2\x8C\x98'; // expected-warning {{multi-character character constant}} 24 wchar_t i = L'ab'; // expected-warning {{extraneous characters in character constant ignored}}
|
/external/emma/core/java12/com/vladium/jcd/cls/ |
ConstantCollection.java | 15 import com.vladium.jcd.cls.constant.*; 36 throw new IllegalStateException ("assertion failure: dereferencing an invalid constant pool slot " + index); 53 final CONSTANT_info constant = (CONSTANT_info) m_constants.get (i); local 55 if ((constant != null) && (constant.tag () == type) && comparator.equals (constant)) 98 final CONSTANT_info constant = (CONSTANT_info) m_constants.get (c); local 99 _clone.m_constants.add (constant == null ? null : constant.clone ()); 136 public CONSTANT_info set (final int index, final CONSTANT_info constant) [all...] |
IConstantCollection.java | 11 import com.vladium.jcd.cls.constant.*; 16 * An abstraction of constant pool in .class format. This interface disallows 56 CONSTANT_info set (CONSTANT_info constant); 62 * A simple interface to express custom semantics of constant equality. 68 boolean equals (CONSTANT_info constant); 83 * @param index constant pool index [must be in [1, size()] range] 84 * @return CONSTANT_info constant pool entry at this index [never null] 103 * Searches the pool for a matching constant of given type with equality 148 * Appends 'constant' to the end of the collection. No duplicate checks 151 * @param constant new constant [may not be null; input unchecked [all...] |
/external/llvm/lib/IR/ |
ConstantsContext.h | 33 /// behind the scenes to implement unary constant exprs. 42 UnaryConstantExpr(unsigned Opcode, Constant *C, Type *Ty) 50 /// behind the scenes to implement binary constant exprs. 59 BinaryConstantExpr(unsigned Opcode, Constant *C1, Constant *C2, 71 /// behind the scenes to implement select constant exprs. 80 SelectConstantExpr(Constant *C1, Constant *C2, Constant *C3) 92 /// extractelement constant exprs [all...] |
/external/mesa3d/src/glsl/builtins/ir/ |
mix.ir | 7 ((return (expression float + (expression float * (var_ref arg0) (expression float - (constant float (1.000000)) (var_ref arg2))) (expression float * (var_ref arg1) (var_ref arg2)))))) 14 ((return (expression vec2 + (expression vec2 * (var_ref arg0) (expression vec2 - (constant float (1.000000)) (var_ref arg2))) (expression vec2 * (var_ref arg1) (var_ref arg2)))))) 21 ((return (expression vec3 + (expression vec3 * (var_ref arg0) (expression vec3 - (constant float (1.000000)) (var_ref arg2))) (expression vec3 * (var_ref arg1) (var_ref arg2)))))) 28 ((return (expression vec4 + (expression vec4 * (var_ref arg0) (expression vec4 - (constant float (1.000000)) (var_ref arg2))) (expression vec4 * (var_ref arg1) (var_ref arg2)))))) 35 ((return (expression vec2 + (expression vec2 * (var_ref arg0) (expression float - (constant float (1.000000)) (var_ref arg2))) (expression vec2 * (var_ref arg1) (var_ref arg2)))))) 42 ((return (expression vec3 + (expression vec3 * (var_ref arg0) (expression float - (constant float (1.000000)) (var_ref arg2))) (expression vec3 * (var_ref arg1) (var_ref arg2)))))) 49 ((return (expression vec4 + (expression vec4 * (var_ref arg0) (expression float - (constant float (1.000000)) (var_ref arg2))) (expression vec4 * (var_ref arg1) (var_ref arg2))))))
|
atan.ir | 14 (constant float (1.0))))))) 29 (constant float (1.0))))))) 44 (constant float (1.0))))))) 59 (constant float (1.0))))))) 71 (expression float * (constant float (1.0e-8)) (expression float abs (var_ref y)))) ( 73 (if (expression bool < (var_ref x) (constant float (0.000000)) ) ( 74 (if (expression bool >= (var_ref y) (constant float (0.000000)) ) 75 ((assign (x) (var_ref r) (expression float + (var_ref r) (constant float (3.141593))))) 76 ((assign (x) (var_ref r) (expression float - (var_ref r) (constant float (3.141593)))))) 84 (assign (x) (var_ref r) (expression float * (var_ref sgn) (constant float (1.5707965))) [all...] |
/external/proguard/src/proguard/classfile/attribute/ |
InnerClassesInfo.java | 24 import proguard.classfile.constant.visitor.ConstantVisitor; 70 * Applies the given constant pool visitor to the class constant of the 84 * Applies the given constant pool visitor to the class constant of the 98 * Applies the given constant pool visitor to the Utf8 constant of the
|
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/ |
atan.ir | 14 (constant float (1.0))))))) 29 (constant float (1.0))))))) 44 (constant float (1.0))))))) 59 (constant float (1.0))))))) 71 (expression float * (constant float (1.0e-8)) (expression float abs (var_ref y)))) ( 73 (if (expression bool < (var_ref x) (constant float (0.000000)) ) ( 74 (if (expression bool >= (var_ref y) (constant float (0.000000)) ) 75 ((assign (x) (var_ref r) (expression float + (var_ref r) (constant float (3.141593))))) 76 ((assign (x) (var_ref r) (expression float - (var_ref r) (constant float (3.141593)))))) 84 (assign (x) (var_ref r) (expression float * (var_ref sgn) (constant float (1.5707965))) [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
opt_constant_folding.cpp | 26 * Replace constant-valued expressions with references to constant values. 70 * expression has a non-constant operand, no need to go looking 71 * down it to find if it's constant. This cuts the time of this 82 ir_constant *constant = (*rvalue)->constant_expression_value(); local 83 if (constant) { 84 *rvalue = constant; 102 /* If the condition is constant, either remove the condition or 124 /* Attempt to constant fold parameters */ 141 /* Next, see if the call can be replaced with an assignment of a constant */ [all...] |
/external/clang/test/CodeGenObjC/ |
predefined-expr.m | 3 // CHECK: @"__func__.-[Foo instanceTest1]" = private unnamed_addr constant [21 x i8] c"-[Foo instanceTest1]\00" 4 // CHECK: @"__func__.-[Foo instanceTest2:]" = private unnamed_addr constant [22 x i8] c"-[Foo instanceTest2:]\00" 5 // CHECK: @"__func__.-[Foo instanceTest3:withB:]" = private unnamed_addr constant [28 x i8] c"-[Foo instanceTest3:withB:]\00" 6 // CHECK: @"__func__.-[Foo instanceTest4]" = private unnamed_addr constant [21 x i8] c"-[Foo instanceTest4]\00" 7 // CHECK: @"__func__.+[Foo classTest1]" = private unnamed_addr constant [18 x i8] c"+[Foo classTest1]\00" 8 // CHECK: @"__func__.+[Foo classTest2:]" = private unnamed_addr constant [19 x i8] c"+[Foo classTest2:]\00" 9 // CHECK: @"__func__.+[Foo classTest3:withB:]" = private unnamed_addr constant [25 x i8] c"+[Foo classTest3:withB:]\00" 10 // CHECK: @"__func__.+[Foo classTest4]" = private unnamed_addr constant [18 x i8] c"+[Foo classTest4]\00" 11 // CHECK: @"__func__.-[Foo(Category) instanceTestWithCategory]" = private unnamed_addr constant [42 x i8] c"-[Foo(Category) instanceTestWithCategory]\00" 12 // CHECK: @"__func__.+[Foo(Category) classTestWithCategory]" = private unnamed_addr constant [39 x i8] c"+[Foo(Category) classTestWithCategory]\00 [all...] |
/external/llvm/test/Linker/ |
testlink1.ll | 41 ; CHECK: @Intern1 = internal constant i32 42 42 @Intern1 = internal constant i32 42 46 ; CHECK: @Intern2{{[0-9]+}} = internal constant i32 792 47 @Intern2 = internal constant i32 792 57 ; CHECK: AConst = constant i32 1234 58 @AConst = linkonce constant i32 123 61 ; CHECK: @Intern1{{[0-9]+}} = internal constant i32 52 65 ; CHECK: @Intern2 = constant i32 12345 67 ; CHECK: @MyIntListPtr = constant 68 ; CHECK: @1 = constant i32 41 [all...] |
/external/mesa3d/src/glsl/ |
opt_constant_folding.cpp | 26 * Replace constant-valued expressions with references to constant values. 70 * expression has a non-constant operand, no need to go looking 71 * down it to find if it's constant. This cuts the time of this 82 ir_constant *constant = (*rvalue)->constant_expression_value(); local 83 if (constant) { 84 *rvalue = constant; 102 /* If the condition is constant, either remove the condition or 124 /* Attempt to constant fold parameters */ 141 /* Next, see if the call can be replaced with an assignment of a constant */ [all...] |
/external/clang/lib/CodeGen/ |
CodeGenModule.h | 38 class Constant; 159 llvm::Constant *objc_autoreleasePoolPop; 162 llvm::Constant *objc_autoreleasePoolPush; 169 llvm::Constant *objc_autorelease; 172 llvm::Constant *objc_autoreleaseReturnValue; 175 llvm::Constant *objc_copyWeak; 178 llvm::Constant *objc_destroyWeak; 181 llvm::Constant *objc_initWeak; 184 llvm::Constant *objc_loadWeak; 187 llvm::Constant *objc_loadWeakRetained [all...] |
/external/clang/test/SemaCXX/ |
compare.cpp | 92 (C == (unsigned short) b) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'unsigned short' is always false}} 93 (C == (unsigned char) b) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'unsigned char' is always false}} 104 (C < (unsigned short) b) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'unsigned short' is always false}} 105 (C < (unsigned char) b) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'unsigned char' is always false}} 122 ((short) a == C) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'short' is always false}} 123 ((signed char) a == C) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'signed char' is always false}} 134 ((short) a < C) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'short' is always true}} 135 ((signed char) a < C) + // expected-warning {{comparison of constant 'C' (65536) with expression of type 'signed char' is always true}} 144 (0x80000 == (unsigned short) b) + // expected-warning {{comparison of constant 524288 with expression of type 'unsigned short' is always false}} 145 (0x80000 == (unsigned char) b) + // expected-warning {{comparison of constant 524288 with expression of type 'unsigned char' is always false} [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ExceptionAdder.java | 25 import proguard.classfile.constant.ClassConstant; 26 import proguard.classfile.constant.visitor.ConstantVisitor; 59 // Add a class constant to the constant pool. 62 // Add the index of the class constant to the list of exceptions.
|
/external/proguard/src/proguard/classfile/visitor/ |
ClassForNameClassVisitor.java | 24 import proguard.classfile.constant.*; 25 import proguard.classfile.constant.visitor.ConstantVisitor; 31 * constant classes involved in any <code>Class.forName</code> constructs that 58 public void visitAnyConstant(Clazz clazz, Constant constant) {}
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
p7-cxx11-nowarn.cpp | 8 int x = 999; // x is not a constant expression 64 // the source is a constant expression and the actual value after conversion 69 // These aren't constant expressions. 76 Agg<float> f2 = {d}; // expected-warning {{non-constant-expression cannot be narrowed from type 'double' to 'float'}} expected-note {{override}} 79 Agg<float> f4 = {1.0}; // OK (double constant represented exactly) 80 Agg<float> f5 = {1.0L}; // OK (long double constant represented exactly) 82 Agg<float> f6 = {0.1}; // OK (double constant in range but rounded) 83 Agg<float> f7 = {0.1L}; // OK (long double constant in range but rounded) 85 Agg<float> f8 = {1E50}; // expected-warning {{constant expression evaluates to 1.000000e+50 which cannot be narrowed to type 'float'}} expected-note {{override}} 87 // More complex constant expression [all...] |
/external/llvm/lib/Transforms/IPO/ |
IPConstantPropagation.cpp | 10 // This pass implements an _extremely_ simple interprocedural constant 34 /// IPCP - The interprocedural constant propagation pass 51 "Interprocedural constant propagation", false, false) 78 /// constant in for an argument, propagate that constant in as the argument. 83 // For each argument, keep track of its constant value and whether it is a 84 // constant or not. The bool is driven to true when found to be non-constant. 85 SmallVector<std::pair<Constant*, bool>, 16> ArgumentConstants; 103 // Check out all of the potentially constant arguments. Note that we don' [all...] |
/frameworks/base/core/java/android/view/ |
KeyEvent.java | 84 /** Key code constant: Unknown key code. */ 86 /** Key code constant: Soft Left key. 91 /** Key code constant: Soft Right key. 96 /** Key code constant: Home key. 99 /** Key code constant: Back key. */ 101 /** Key code constant: Call key. */ 103 /** Key code constant: End Call key. */ 105 /** Key code constant: '0' key. */ 107 /** Key code constant: '1' key. */ 109 /** Key code constant: '2' key. * [all...] |
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 42 // Constant Folding internal helper functions 45 /// FoldBitCast - Constant fold bitcast, symbolically evaluating it with 46 /// DataLayout. This always returns a non-null constant, but it may be a 48 static Constant *FoldBitCast(Constant *C, Type *DestTy, 52 return Constant::getNullValue(DestTy); 54 return Constant::getAllOnesValue(DestTy); 102 Constant *Ops = C; // don't take the address of C! 106 // If this is a bitcast from constant vector -> vector, fold it. 161 SmallVector<Constant*, 32> Result [all...] |
/external/chromium_org/v8/test/webkit/ |
dfg-constant-fold-misprediction.js | 25 "This tests that a constant folding on a node that has obviously mispredicted type doesn't send the compiler into an infinite loop." 30 // Two variables holding constants such that the bytecode generation constant folder 31 // will not constant fold the division below, but the DFG constant folder will. 37 // If we constant fold this division, we'll have a constant node that is predicted 40 // the constant-that-was-a-division; subsequent fases in the fixpoint will constant 42 // is to disable constant folding of mispredicted nodes; that allows the normal
|