Home
last modified time | relevance | path

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

/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1042 LLVMValueRef GlobalVar; in DEFINE_ITERATORS() local
1043 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { in DEFINE_ITERATORS()
1044 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS()
1045 return LLVMConstBitCast(GlobalVar, LLVMPointerType(Ty, 0)); in DEFINE_ITERATORS()
1046 return GlobalVar; in DEFINE_ITERATORS()
1055 LLVMValueRef GlobalVar; in llvm_declare_qualified_global() local
1056 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { in llvm_declare_qualified_global()
1057 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global()
1058 return LLVMConstBitCast(GlobalVar, in llvm_declare_qualified_global()
1060 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.cpp220 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "intVal"); in buildModuleWithCodeAndData() local
221 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0)); in buildModuleWithCodeAndData()
232 LLVMValueRef IntVal = LLVMBuildLoad(Builder, GlobalVar, "intVal"); in buildModuleWithCodeAndData()
252 LLVMBuildStore(Builder, Arg, GlobalVar); in buildModuleWithCodeAndData()
354 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "simple_value"); in TEST_F() local
355 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0)); in TEST_F()
/external/llvm/include/llvm-c/
DCore.h1749 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 …]
DTarget.h266 LLVMValueRef GlobalVar);
/external/llvm/lib/Target/
DTarget.cpp115 LLVMValueRef GlobalVar) { in LLVMPreferredAlignmentOfGlobal() argument
116 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); in LLVMPreferredAlignmentOfGlobal()
/external/llvm/lib/IR/
DCore.cpp1547 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar) { in LLVMGetNextGlobal() argument
1548 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetNextGlobal()
1555 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar) { in LLVMGetPreviousGlobal() argument
1556 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetPreviousGlobal()
1563 void LLVMDeleteGlobal(LLVMValueRef GlobalVar) { in LLVMDeleteGlobal() argument
1564 unwrap<GlobalVariable>(GlobalVar)->eraseFromParent(); in LLVMDeleteGlobal()
1567 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar) { in LLVMGetInitializer() argument
1568 GlobalVariable* GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetInitializer()
1574 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { in LLVMSetInitializer() argument
1575 unwrap<GlobalVariable>(GlobalVar) in LLVMSetInitializer()
[all …]
/external/v8/src/crankshaft/
Dhydrogen-gvn.cc356 result.AddSpecial(GlobalVar(index)); in ComputeChanges()
361 result.AddSpecial(GlobalVar(index)); in ComputeChanges()
388 result.AddSpecial(GlobalVar(index)); in ComputeDependsOn()
393 result.AddSpecial(GlobalVar(index)); in ComputeDependsOn()
433 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.c132 CAMLprim value llvm_datalayout_preferred_align_of_global(LLVMValueRef GlobalVar, in llvm_datalayout_preferred_align_of_global() argument
134 return Val_int(LLVMPreferredAlignmentOfGlobal(DataLayout_val(DL), GlobalVar)); in llvm_datalayout_preferred_align_of_global()
/external/llvm/lib/AsmParser/
DLLToken.h212 GlobalVar, // @foo @"foo" enumerator
DLLLexer.cpp260 return LexVar(lltok::GlobalVar, lltok::GlobalID); in LexAt()
DLLParser.cpp224 case lltok::GlobalVar: if (ParseNamedGlobal()) return true; break; in ParseTopLevelEntities()
476 assert(Lex.getKind() == lltok::GlobalVar); in ParseNamedGlobal()
2525 case lltok::GlobalVar: // @foo in ParseValID()
4378 if (Lex.getKind() == lltok::GlobalVar) { in ParseFunctionHeader()
/external/llvm/test/tools/llvm-pdbdump/
Dregex-filter.test7 ; RUN: llvm-pdbdump -types -symbols -globals -exclude-symbols="MemberVar|GlobalVar" \
/external/v8/test/cctest/
Dtest-func-name-inference.cc117 TEST(GlobalVar) { in TEST() argument
/external/clang/include/clang/Basic/
DAttr.td106 def GlobalVar : SubsetSubject<Var,
361 let Subjects = SubjectList<[Function, GlobalVar], ErrorDiag,
1315 let Subjects = SubjectList<[Function, GlobalVar,