/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 1181 LLVMValueRef GlobalVar; in DEFINE_ITERATORS() local 1182 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { in DEFINE_ITERATORS() 1183 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in DEFINE_ITERATORS() 1184 return LLVMConstBitCast(GlobalVar, LLVMPointerType(Ty, 0)); in DEFINE_ITERATORS() 1185 return GlobalVar; in DEFINE_ITERATORS() 1194 LLVMValueRef GlobalVar; in llvm_declare_qualified_global() local 1195 if ((GlobalVar = LLVMGetNamedGlobal(M, String_val(Name)))) { in llvm_declare_qualified_global() 1196 if (LLVMGetElementType(LLVMTypeOf(GlobalVar)) != Ty) in llvm_declare_qualified_global() 1197 return LLVMConstBitCast(GlobalVar, in llvm_declare_qualified_global() 1199 return GlobalVar; in llvm_declare_qualified_global() [all …]
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 1098 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-7.0/llvm/test/Transforms/GVNHoist/ |
D | hoist-mssa.ll | 50 @GlobalVar = internal global float 1.000000e+00 58 store float 0.000000e+00, float* @GlobalVar 63 store float 0.000000e+00, float* @GlobalVar 67 %tmp = load float, float* @GlobalVar, align 4
|
D | pr30216.ll | 28 ; Make sure the two stores @B do not get hoisted past the store @GlobalVar. 37 @GlobalVar = internal global i8 0 48 store i8 0, i8* @GlobalVar
|
D | hoist.ll | 5 @GlobalVar = internal global float 1.000000e+00 119 store float %0, float* @GlobalVar 160 store float 0.000000e+00, float* @GlobalVar 356 store float 0.000000e+00, float* @GlobalVar 411 store float 0.000000e+00, float* @GlobalVar 457 store float 0.000000e+00, float* @GlobalVar 499 store float 0.000000e+00, float* @GlobalVar
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 861 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/ |
D | p10.cpp | 3 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/ |
D | MCJITCAPITest.cpp | 221 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-7.0/llvm/unittests/ExecutionEngine/MCJIT/ |
D | MCJITCAPITest.cpp | 222 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "intVal"); in buildModuleWithCodeAndData() local 223 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0)); in buildModuleWithCodeAndData() 234 LLVMValueRef IntVal = LLVMBuildLoad(Builder, GlobalVar, "intVal"); in buildModuleWithCodeAndData() 254 LLVMBuildStore(Builder, Arg, GlobalVar); in buildModuleWithCodeAndData() 353 LLVMValueRef GlobalVar = LLVMAddGlobal(Module, LLVMInt32Type(), "simple_value"); in TEST_F() local 354 LLVMSetInitializer(GlobalVar, LLVMConstInt(LLVMInt32Type(), 42, 0)); in TEST_F()
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/target/ |
D | target_ocaml.c | 88 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/ |
D | Target.cpp | 90 LLVMValueRef GlobalVar) { in LLVMPreferredAlignmentOfGlobal() argument 91 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); in LLVMPreferredAlignmentOfGlobal()
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1894 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 …]
|
D | Target.h | 279 LLVMValueRef GlobalVar);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/ |
D | Core.h | 2090 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar); 2091 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar); 2092 void LLVMDeleteGlobal(LLVMValueRef GlobalVar); 2093 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar); 2094 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal); 2095 LLVMBool LLVMIsThreadLocal(LLVMValueRef GlobalVar); 2096 void LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal); 2097 LLVMBool LLVMIsGlobalConstant(LLVMValueRef GlobalVar); 2098 void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant); 2099 LLVMThreadLocalMode LLVMGetThreadLocalMode(LLVMValueRef GlobalVar); [all …]
|
D | Target.h | 279 LLVMValueRef GlobalVar);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ |
D | Target.cpp | 127 LLVMValueRef GlobalVar) { in LLVMPreferredAlignmentOfGlobal() argument 128 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); in LLVMPreferredAlignmentOfGlobal()
|
/external/llvm/lib/Target/ |
D | Target.cpp | 127 LLVMValueRef GlobalVar) { in LLVMPreferredAlignmentOfGlobal() argument 128 return unwrap(TD)->getPreferredAlignment(unwrap<GlobalVariable>(GlobalVar)); in LLVMPreferredAlignmentOfGlobal()
|
/external/llvm/lib/IR/ |
D | Core.cpp | 1638 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/ |
D | Core.cpp | 1205 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/ |
D | Core.h | 713 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);
|
D | Target.h | 144 LLVMValueRef GlobalVar);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Core.cpp | 1863 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar) { in LLVMGetNextGlobal() argument 1864 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetNextGlobal() 1871 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar) { in LLVMGetPreviousGlobal() argument 1872 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetPreviousGlobal() 1879 void LLVMDeleteGlobal(LLVMValueRef GlobalVar) { in LLVMDeleteGlobal() argument 1880 unwrap<GlobalVariable>(GlobalVar)->eraseFromParent(); in LLVMDeleteGlobal() 1883 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar) { in LLVMGetInitializer() argument 1884 GlobalVariable* GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetInitializer() 1890 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { in LLVMSetInitializer() argument 1891 unwrap<GlobalVariable>(GlobalVar) in LLVMSetInitializer() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/target/ |
D | target_ocaml.c | 126 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/llvm/bindings/ocaml/target/ |
D | target_ocaml.c | 126 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/ |
D | LLToken.h | 144 GlobalVar, // @foo @"foo" enumerator
|