/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
H A D | p10.cpp | 3 int GlobalVar; // expected-note {{declared here}} variable 21 (void)[&GlobalVar] () {}; // expected-error {{does not have automatic storage duration}}
|
/external/llvm/bindings/ocaml/llvm/ |
H A D | llvm_ocaml.c | 1042 LLVMValueRef GlobalVar; local 1043 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { 1044 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) 1045 return LLVMConstBitCast(GlobalVar, LLVMPointerType(Ty, 0)); 1046 return GlobalVar; 1055 LLVMValueRef GlobalVar; local 1056 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { 1057 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) 1058 return LLVMConstBitCast(GlobalVar, 1060 return GlobalVar; 1069 LLVMValueRef GlobalVar; local 1081 LLVMValueRef GlobalVar = LLVMAddGlobal(M, LLVMTypeOf(Initializer), local 1092 LLVMValueRef GlobalVar = LLVMAddGlobalInAddressSpace(M, local 1101 llvm_delete_global(LLVMValueRef GlobalVar) argument 1107 llvm_set_initializer(LLVMValueRef ConstantVal, LLVMValueRef GlobalVar) argument 1114 llvm_remove_initializer(LLVMValueRef GlobalVar) argument 1120 llvm_is_thread_local(LLVMValueRef GlobalVar) argument 1125 llvm_set_thread_local(value IsThreadLocal, LLVMValueRef GlobalVar) argument 1132 llvm_thread_local_mode(LLVMValueRef GlobalVar) argument 1137 llvm_set_thread_local_mode(value ThreadLocalMode, LLVMValueRef GlobalVar) argument 1144 llvm_is_externally_initialized(LLVMValueRef GlobalVar) argument 1149 llvm_set_externally_initialized(value IsExternallyInitialized, LLVMValueRef GlobalVar) argument 1156 llvm_is_global_constant(LLVMValueRef GlobalVar) argument 1161 llvm_set_global_constant(value Flag, LLVMValueRef GlobalVar) argument [all...] |
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
H A D | MCJITCAPITest.cpp | 220 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "intVal"); local 221 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0)); 232 LLVMValueRef IntVal = LLVMBuildLoad(Builder, GlobalVar, "intVal"); 252 LLVMBuildStore(Builder, Arg, GlobalVar); 354 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "simple_value"); local 355 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0));
|
/external/llvm/lib/Target/ |
H A D | Target.cpp | 115 LLVMValueRef GlobalVar) { 116 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); 114 LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef TD, LLVMValueRef GlobalVar) argument
|
/external/llvm/include/llvm-c/ |
H A D | Target.h | 266 LLVMValueRef GlobalVar);
|
H A D | Core.h | 1749 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar); 1750 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar); 1751 void LLVMDeleteGlobal(LLVMValueRef GlobalVar); 1752 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar); 1753 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal); 1754 LLVMBool LLVMIsThreadLocal(LLVMValueRef GlobalVar); 1755 void LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal); 1756 LLVMBool LLVMIsGlobalConstant(LLVMValueRef GlobalVar); 1757 void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant); 1758 LLVMThreadLocalMode LLVMGetThreadLocalMode(LLVMValueRef GlobalVar); [all...] |
/external/llvm/lib/IR/ |
H A D | Core.cpp | 1547 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar) { argument 1548 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); 1555 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar) { argument 1556 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); 1563 void LLVMDeleteGlobal(LLVMValueRef GlobalVar) { argument 1564 unwrap<GlobalVariable>(GlobalVar)->eraseFromParent(); 1567 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar) { argument 1568 GlobalVariable* GV = unwrap<GlobalVariable>(GlobalVar); 1574 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { argument 1575 unwrap<GlobalVariable>(GlobalVar) 1579 LLVMIsThreadLocal(LLVMValueRef GlobalVar) argument 1583 LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal) argument 1587 LLVMIsGlobalConstant(LLVMValueRef GlobalVar) argument 1591 LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant) argument 1595 LLVMGetThreadLocalMode(LLVMValueRef GlobalVar) argument 1612 LLVMSetThreadLocalMode(LLVMValueRef GlobalVar, LLVMThreadLocalMode Mode) argument 1634 LLVMIsExternallyInitialized(LLVMValueRef GlobalVar) argument 1638 LLVMSetExternallyInitialized(LLVMValueRef GlobalVar, LLVMBool IsExtInit) argument [all...] |
/external/llvm/lib/AsmParser/ |
H A D | LLToken.h | 212 GlobalVar, // @foo @"foo" enumerator in enum:llvm::lltok::Kind
|
H A D | LLLexer.cpp | 256 /// GlobalVar @\"[^\"]*\" 257 /// GlobalVar @[-a-zA-Z$._][-a-zA-Z$._0-9]* 260 return LexVar(lltok::GlobalVar, lltok::GlobalID);
|
H A D | LLParser.cpp | 224 case lltok::GlobalVar: if (ParseNamedGlobal()) return true; break; 231 // GlobalVar ::= OptionalLinkage OptionalVisibility OptionalDLLStorageClass 472 /// GlobalVar '=' OptionalVisibility ALIAS ... 473 /// GlobalVar '=' OptionalLinkage OptionalVisibility OptionalDLLStorageClass 476 assert(Lex.getKind() == lltok::GlobalVar); 656 /// ::= GlobalVar '=' OptionalLinkage OptionalVisibility 770 /// ::= GlobalVar '=' OptionalLinkage OptionalVisibility OptionalDLLStorageClass 2525 case lltok::GlobalVar: // @foo 4378 if (Lex.getKind() == lltok::GlobalVar) {
|
/external/v8/src/crankshaft/ |
H A D | hydrogen-gvn.h | 76 static int GlobalVar(int index) {
|
H A D | hydrogen-gvn.cc | 356 result.AddSpecial(GlobalVar(index)); 361 result.AddSpecial(GlobalVar(index)); 388 result.AddSpecial(GlobalVar(index)); 393 result.AddSpecial(GlobalVar(index)); 433 if (te.effects.ContainsSpecial(t->GlobalVar(index))) {
|
/external/llvm/bindings/ocaml/target/ |
H A D | target_ocaml.c | 132 CAMLprim value llvm_datalayout_preferred_align_of_global(LLVMValueRef GlobalVar, argument 134 return Val_int(LLVMPreferredAlignmentOfGlobal(DataLayout_val(DL), GlobalVar));
|
/external/v8/test/cctest/ |
H A D | test-func-name-inference.cc | 117 TEST(GlobalVar) {
|