Home
last modified time | relevance | path

Searched refs:GlobalVar (Results 1 – 24 of 24) sorted by relevance

/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1098 LLVMValueRef GlobalVar; in DEFINE_ITERATORS() local
1099 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { in DEFINE_ITERATORS()
1100 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS()
1101 return LLVMConstBitCast(GlobalVar, LLVMPointerType(Ty, 0)); in DEFINE_ITERATORS()
1102 return GlobalVar; in DEFINE_ITERATORS()
1111 LLVMValueRef GlobalVar; in llvm_declare_qualified_global() local
1112 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { in llvm_declare_qualified_global()
1113 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global()
1114 return LLVMConstBitCast(GlobalVar, in llvm_declare_qualified_global()
1116 return GlobalVar; in llvm_declare_qualified_global()
[all …]
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c861 LLVMValueRef GlobalVar; in DEFINE_ITERATORS() local
862 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { in DEFINE_ITERATORS()
863 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS()
864 return LLVMConstBitCast(GlobalVar, LLVMPointerType(Ty, 0)); in DEFINE_ITERATORS()
865 return GlobalVar; in DEFINE_ITERATORS()
874 LLVMValueRef GlobalVar; in llvm_declare_qualified_global() local
875 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { in llvm_declare_qualified_global()
876 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global()
877 return LLVMConstBitCast(GlobalVar, in llvm_declare_qualified_global()
879 return GlobalVar; in llvm_declare_qualified_global()
[all …]
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp10.cpp3 int GlobalVar; // expected-note {{declared here}} variable
21 (void)[&GlobalVar] () {}; // expected-error {{does not have automatic storage duration}} in explicit_capture()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITCAPITest.cpp221 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "intVal"); in buildModuleWithCodeAndData() local
222 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0)); in buildModuleWithCodeAndData()
233 LLVMValueRef IntVal = LLVMBuildLoad(Builder, GlobalVar, "intVal"); in buildModuleWithCodeAndData()
253 LLVMBuildStore(Builder, Arg, GlobalVar); in buildModuleWithCodeAndData()
352 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "simple_value"); in TEST_F() local
353 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0)); in TEST_F()
/external/swiftshader/third_party/LLVM/bindings/ocaml/target/
Dtarget_ocaml.c88 LLVMValueRef GlobalVar) { in llvm_preferred_align_of_global() argument
89 return Val_int(LLVMPreferredAlignmentOfGlobal(TD, GlobalVar)); in llvm_preferred_align_of_global()
/external/swiftshader/third_party/LLVM/lib/Target/
DTarget.cpp90 LLVMValueRef GlobalVar) { in LLVMPreferredAlignmentOfGlobal() argument
91 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); in LLVMPreferredAlignmentOfGlobal()
/external/llvm/include/llvm-c/
DCore.h1894 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar);
1895 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar);
1896 void LLVMDeleteGlobal(LLVMValueRef GlobalVar);
1897 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar);
1898 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal);
1899 LLVMBool LLVMIsThreadLocal(LLVMValueRef GlobalVar);
1900 void LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal);
1901 LLVMBool LLVMIsGlobalConstant(LLVMValueRef GlobalVar);
1902 void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant);
1903 LLVMThreadLocalMode LLVMGetThreadLocalMode(LLVMValueRef GlobalVar);
[all …]
DTarget.h279 LLVMValueRef GlobalVar);
/external/llvm/lib/Target/
DTarget.cpp127 LLVMValueRef GlobalVar) { in LLVMPreferredAlignmentOfGlobal() argument
128 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); in LLVMPreferredAlignmentOfGlobal()
/external/llvm/lib/IR/
DCore.cpp1638 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar) { in LLVMGetNextGlobal() argument
1639 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetNextGlobal()
1646 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar) { in LLVMGetPreviousGlobal() argument
1647 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetPreviousGlobal()
1654 void LLVMDeleteGlobal(LLVMValueRef GlobalVar) { in LLVMDeleteGlobal() argument
1655 unwrap<GlobalVariable>(GlobalVar)->eraseFromParent(); in LLVMDeleteGlobal()
1658 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar) { in LLVMGetInitializer() argument
1659 GlobalVariable* GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetInitializer()
1665 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { in LLVMSetInitializer() argument
1666 unwrap<GlobalVariable>(GlobalVar) in LLVMSetInitializer()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DCore.cpp1205 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar) { in LLVMGetNextGlobal() argument
1206 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetNextGlobal()
1213 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar) { in LLVMGetPreviousGlobal() argument
1214 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetPreviousGlobal()
1221 void LLVMDeleteGlobal(LLVMValueRef GlobalVar) { in LLVMDeleteGlobal() argument
1222 unwrap<GlobalVariable>(GlobalVar)->eraseFromParent(); in LLVMDeleteGlobal()
1225 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar) { in LLVMGetInitializer() argument
1226 GlobalVariable* GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetInitializer()
1232 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { in LLVMSetInitializer() argument
1233 unwrap<GlobalVariable>(GlobalVar) in LLVMSetInitializer()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h713 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar);
714 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar);
715 void LLVMDeleteGlobal(LLVMValueRef GlobalVar);
716 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar);
717 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal);
718 LLVMBool LLVMIsThreadLocal(LLVMValueRef GlobalVar);
719 void LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal);
720 LLVMBool LLVMIsGlobalConstant(LLVMValueRef GlobalVar);
721 void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant);
DTarget.h144 LLVMValueRef GlobalVar);
/external/v8/src/crankshaft/
Dhydrogen-gvn.cc357 result.AddSpecial(GlobalVar(index)); in ComputeChanges()
362 result.AddSpecial(GlobalVar(index)); in ComputeChanges()
389 result.AddSpecial(GlobalVar(index)); in ComputeDependsOn()
394 result.AddSpecial(GlobalVar(index)); in ComputeDependsOn()
434 if (te.effects.ContainsSpecial(t->GlobalVar(index))) { in operator <<()
Dhydrogen-gvn.h76 static int GlobalVar(int index) { in GlobalVar() function
/external/llvm/bindings/ocaml/target/
Dtarget_ocaml.c126 CAMLprim value llvm_datalayout_preferred_align_of_global(LLVMValueRef GlobalVar, in llvm_datalayout_preferred_align_of_global() argument
128 return Val_int(LLVMPreferredAlignmentOfGlobal(DataLayout_val(DL), GlobalVar)); in llvm_datalayout_preferred_align_of_global()
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLToken.h144 GlobalVar, // @foo @"foo" enumerator
DLLLexer.cpp305 return lltok::GlobalVar; in LexAt()
312 return lltok::GlobalVar; in LexAt()
DLLParser.cpp180 case lltok::GlobalVar: if (ParseNamedGlobal()) return true; break; in ParseTopLevelEntities()
426 assert(Lex.getKind() == lltok::GlobalVar); in ParseNamedGlobal()
1900 case lltok::GlobalVar: // @foo in ParseValID()
2633 if (Lex.getKind() == lltok::GlobalVar) { in ParseFunctionHeader()
/external/llvm/lib/AsmParser/
DLLToken.h340 GlobalVar, // @foo @"foo" enumerator
DLLLexer.cpp260 return LexVar(lltok::GlobalVar, lltok::GlobalID); in LexAt()
DLLParser.cpp266 case lltok::GlobalVar: if (ParseNamedGlobal()) return true; break; in ParseTopLevelEntities()
513 assert(Lex.getKind() == lltok::GlobalVar); in ParseNamedGlobal()
2689 case lltok::GlobalVar: // @foo in ParseValID()
4598 if (Lex.getKind() == lltok::GlobalVar) { in ParseFunctionHeader()
/external/llvm/test/tools/llvm-pdbdump/
Dregex-filter.test7 ; RUN: llvm-pdbdump pretty -types -symbols -globals -exclude-symbols="MemberVar|GlobalVar" \
/external/clang/include/clang/Basic/
DAttr.td108 def GlobalVar : SubsetSubject<Var,
382 let Subjects = SubjectList<[Function, GlobalVar], ErrorDiag,
1402 let Subjects = SubjectList<[Function, GlobalVar,