Home
last modified time | relevance | path

Searched +refs:clang +refs:flags (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/external/compiler-rt/cmake/Modules/
DCompilerRTCompile.cmake3 # On Windows, CMAKE_*_FLAGS are built for MSVC but we use the GCC clang.exe,
4 # which uses completely different flags. Translate some common flag types, and
13 # Make space separated -D and -U flags into joined flags.
22 # Canonicalize normal optimization flags to -O2.
30 # a provided compile flags and dependenices.
32 # CFLAGS <list of compile flags>
38 list(APPEND SOURCE_DEPS clang compiler-rt-headers)
67 # On Darwin, there are no system-wide C++ headers and the just-built clang is
70 # The just-built clang is used to build compiler-rt unit tests. Let's detect
80 …" echo 'Your just-built clang cannot find C++ headers, which are needed to build and run compiler…
[all …]
DAddCompilerRT.cmake10 # CFLAGS <compile flags>
29 # CFLAGS <compile flags>
45 # CFLAGS <compile flags>
52 # Setup compile flags and definitions.
85 # CFLAGS <compile flags>
105 # CFLAGS <compile flags>
107 # LINKFLAGS <link flags>)
137 # clang doesn't support exceptions on Windows yet.
140 # We should teach clang to understand "#pragma intrinsic", see PR19898.
157 # using specified link flags. Make executable a part of provided
[all …]
/external/llvm/test/DebugInfo/X86/
Ddebug-info-access.ll8 ; clang++ -g tools/clang/test/CodeGenCXX/debug-info-access.cpp -S -emit-llvm -o -
86 ; ModuleID = '/llvm/tools/clang/test/CodeGenCXX/debug-info-access.cpp'
106 !llvm.module.flags = !{!38, !39}
109 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.6.0 ", isOptimized: f…
110 !1 = !MDFile(filename: "/llvm/tools/clang/test/CodeGenCXX/debug-info-access.cpp", directory: "")
115 !6 = !MDDerivedType(tag: DW_TAG_member, name: "pub_default_static", line: 7, flags: DIFlagStaticMem…
117 …efaultEv", line: 5, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped,…
120 !11 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFla…
123 !14 = !MDDerivedType(tag: DW_TAG_inheritance, flags: DIFlagPublic, scope: !"_ZTS1B", baseType: !"_Z…
124 !15 = !MDDerivedType(tag: DW_TAG_member, name: "public_static", line: 16, flags: DIFlagPublic | DIF…
[all …]
Ddebug-info-block-captured-self.ll8 ; llvm/tools/clang/test/CodeGenObjC/debug-info-block-captured-self.m
63 ; ModuleID = 'llvm/tools/clang/test/CodeGenObjC/debug-info-block-captured-self.m'
82 !llvm.module.flags = !{!108}
83 !0 = !MDCompileUnit(language: DW_LANG_ObjC, producer: "clang version 3.3 ", isOptimized: false, run…
84 !1 = !MDFile(filename: "llvm/tools/clang/test/CodeGenObjC/debug-info-block-captured-self.m", direct…
96 !33 = !MDCompositeType(tag: DW_TAG_structure_type, name: "objc_class", flags: DIFlagFwdDecl, file: …
97 !34 = !MDCompositeType(tag: DW_TAG_structure_type, name: "Main", line: 23, flags: DIFlagArtificial …
98 …ck_invoke", line: 33, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
102 …_invoke_2", line: 35, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
109 !107 = !MDFile(filename: "llvm/tools/clang/test/CodeGenObjC/debug-info-block-captured-self.m", dire…
Dmemberfnptr.ll24 !llvm.module.flags = !{!14, !15, !16}
27 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.6.0 ", isOptimized: f…
33 …linkageName: "_ZN1A3fooEv", line: 2, isLocal: false, isDefinition: false, flags: DIFlagPrototyped,…
36 !9 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFlag…
44 !17 = !{!"clang version 3.6.0 "}
Ddebug-info-static-member.ll12 ; LLVM IR generated using: clang -emit-llvm -S -g
60 !llvm.module.flags = !{!34}
62 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.3 (trunk 171914)", is…
65 …e: "main", line: 18, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
66 …ment/llvm/src/tools/clang/test/CodeGenCXX/debug-info-static-member.cpp", directory: "/home/blaikie…
74 !15 = !MDDerivedType(tag: DW_TAG_member, name: "a", line: 3, flags: DIFlagPrivate | DIFlagStaticMem…
75 !16 = !MDDerivedType(tag: DW_TAG_member, name: "const_a", line: 4, flags: DIFlagPrivate | DIFlagSta…
78 !19 = !MDDerivedType(tag: DW_TAG_member, name: "b", line: 6, flags: DIFlagProtected | DIFlagStaticM…
79 !20 = !MDDerivedType(tag: DW_TAG_member, name: "const_b", line: 7, flags: DIFlagProtected | DIFlagS…
82 !23 = !MDDerivedType(tag: DW_TAG_member, name: "c", line: 9, flags: DIFlagPublic | DIFlagStaticMemb…
[all …]
Dmi-print.ll8 ; Generated using `clang -g -O2 -S -emit-llvm -g` on the following source:
31 !llvm.module.flags = !{!13, !14, !15}
34 !0 = !MDCompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.7.0 (trunk 233919) …
38 … !1, line: 2, type: !5, isLocal: false, isDefinition: true, scopeLine: 2, flags: DIFlagPrototyped,…
44 …: !1, line: 1, type: !5, isLocal: true, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped,…
50 !16 = !{!"clang version 3.7.0 (trunk 233919) (llvm/trunk 233920)"}
/external/llvm/test/Assembler/
Dmdcompileunit.ll15 … !MDCompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, flags: "-O2…
16 !7 = !MDCompileUnit(language: DW_LANG_C99, file: !1, producer: "clang",
17 isOptimized: true, flags: "-O2", runtimeVersion: 2,
21 !8 = !MDCompileUnit(language: 12, file: !1, producer: "clang",
22 isOptimized: true, flags: "-O2", runtimeVersion: 2,
29 isOptimized: false, flags: "", runtimeVersion: 0,
Ddrop-debug-info.ll13 !llvm.module.flags = !{!9}
15 !0 = !MDCompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 (trunk 195495) (llvm/trunk …
16 !1 = !MDFile(filename: "../llvm/tools/clang/test/CodeGen/debug-info-version.c", directory: "/Users/…
19 …me: "main", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
20 !5 = !MDFile(filename: "../llvm/tools/clang/test/CodeGen/debug-info-version.c", directory: "/Users/…
/external/llvm/test/DebugInfo/
Dvarargs.ll6 ; Created from tools/clang/tests/CodeGenCXX/debug-info-varargs.cpp
48 ; ModuleID = 'llvm/tools/clang/test/CodeGenCXX/debug-info-varargs.cpp'
72 !llvm.module.flags = !{!18, !19}
75 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5 ", isOptimized: fal…
76 !1 = !MDFile(filename: "llvm/tools/clang/test/CodeGenCXX/debug-info-varargs.cpp", directory: "radar…
81 …N1A1aEiz", line: 6, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped,…
84 !9 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFlag…
87 … "_Z1biz", line: 13, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
88 !15 = !MDFile(filename: "llvm/tools/clang/test/CodeGenCXX/debug-info-varargs.cpp", directory: "rada…
93 !20 = !{!"clang version 3.5 "}
Ddebuginfofinder-forward-declaration.ll27 !llvm.module.flags = !{!10, !11}
30 …pileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.7.0 (http://llvm.org/git/clan…
39 !9 = !MDCompositeType(tag: DW_TAG_structure_type, name: "X", file: !1, line: 1, flags: DIFlagFwdDec…
42 !12 = !{!"clang version 3.7.0 (http://llvm.org/git/clang.git 247b30a043eb8f39ea3708e7e995089da0a6b0…
Ddebug-info-qualifiers.ll3 ; Generated from tools/clang/test/CodeGenCXX/debug-info-qualifiers.cpp
61 !llvm.module.flags = !{!21, !22}
64 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5 ", isOptimized: fal…
71 …KR1A1lEv", line: 5, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped …
72 !8 = !MDSubroutineType(flags: DIFlagLValueReference, types: !9)
74 !10 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFla…
76 …KO1A1rEv", line: 7, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagObjectPoint…
77 !14 = !MDSubroutineType(flags: DIFlagRValueReference, types: !9)
79 …: "_Z1gv", line: 10, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
85 !23 = !{!"clang version 3.5 "}
[all …]
Dtemplate-recursive-void.ll6 ; This was pulled from clang's debug-info-template-recursive.cpp test.
26 !llvm.module.flags = !{!36, !37}
28 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 (trunk 187958) (llv…
42 …e: "base", line: 3, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagArtificial …
45 !17 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFla…
46 …vEaSES0_", line: 6, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrivate | D…
49 !22 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFla…
51 …me: "foo", line: 5, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagArtificial …
56 …me: "bar", line: 9, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagArtificial …
59 !34 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFla…
Dnamespace_function_definition.ll5 ; Generated from clang with the following source:
30 !llvm.module.flags = !{!8, !9}
33 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5.0 ", isOptimized: f…
37 …ns4funcEv", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
43 !10 = !{!"clang version 3.5.0 "}
Dtu-member-pointer.ll8 ; IR generated from clang -g with the following source:
17 !llvm.module.flags = !{!10, !11}
19 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4", isOptimized: fals…
23 !4 = !MDCompositeType(tag: DW_TAG_structure_type, name: "Foo", line: 1, flags: DIFlagFwdDecl, file:…
Dnodebug.ll9 ; Build with clang from the following:
37 !llvm.module.flags = !{!8, !9}
40 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5.0 ", isOptimized: f…
44 …: "_Z2f1v", line: 2, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
50 !10 = !{!"clang version 3.5.0 "}
Dmember-order.ll5 ; generated by clang from:
44 !llvm.module.flags = !{!15, !20}
46 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.4 ", isOptimized: fal…
52 …foo2f1Ev", line: 2, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped,…
55 !9 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFlag…
57 …foo2f2Ev", line: 3, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped,…
60 …3foo2f1Ev", line: 6, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
62 !16 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DI…
/external/llvm/test/CodeGen/AArch64/
Darm64-2011-03-17-AsmPrinterCrash.ll25 …sprintf", line: 616, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
27 …eUnit(language: DW_LANG_C99, producer: "clang version 3.0 (http://llvm.org/git/clang.git git:/git/…
31 …"putc_mem", line: 30, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
34 …t_double", line: 203, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
35 …nt_number", line: 75, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
36 …et_flags", line: 508, isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
/external/clang/lib/Driver/
DMultilib.cpp29 using namespace clang::driver;
30 using namespace clang;
138 raw_ostream &clang::driver::operator<<(raw_ostream &OS, const Multilib &M) { in operator <<()
146 for (StringRef Flag : M.flags()) { in Maybe()
148 Opposite.flags().push_back(("-" + Flag.substr(1)).str()); in Maybe()
184 Multilib::flags_list &Flags = Composed.flags(); in compose()
186 Flags.insert(Flags.end(), Base.flags().begin(), Base.flags().end()); in compose()
187 Flags.insert(Flags.end(), New.flags().begin(), New.flags().end()); in compose()
254 for (StringRef Flag : M.flags()) { in select()
292 raw_ostream &clang::driver::operator<<(raw_ostream &OS, const MultilibSet &MS) { in operator <<()
/external/clang/bindings/python/tests/cindex/
Dutil.py3 from clang.cindex import Cursor
4 from clang.cindex import TranslationUnit
6 def get_tu(source, lang='c', all_warnings=False, flags=[]): argument
17 args = list(flags)
/external/llvm/test/Instrumentation/SanitizerCoverage/
Dcoverage-dbg.ll14 ; clang++ ../1.cc -O3 -g -S -emit-llvm -fno-strict-aliasing
43 !llvm.module.flags = !{!17, !18}
46 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5.0 (210251)", isOpti…
54 …ZN1A1fEv", line: 2, isLocal: false, isDefinition: false, virtualIndex: 6, flags: DIFlagPrototyped,…
57 !11 = !MDDerivedType(tag: DW_TAG_pointer_type, size: 64, align: 64, flags: DIFlagArtificial | DIFla…
59 …_ZN1A1fEv", line: 6, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped,…
61 !15 = !MDLocalVariable(tag: DW_TAG_arg_variable, name: "this", arg: 1, flags: DIFlagArtificial | DI…
65 !19 = !{!"clang version 3.5.0 (210251)"}
/external/llvm/test/Transforms/ObjCARC/
Descape.ll13 ; CHECK: %tmp7 = call i8* @objc_retainBlock(i8* %tmp6) [[NUW:#[0-9]+]], !clang.arc.copy_on_escape !0
14 ; CHECK: call void @objc_release(i8* %tmp7) [[NUW]], !clang.imprecise_release !0
24 …%byref.flags = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_w…
25 store i32 33554432, i32* %byref.flags, align 8
37 …%block.flags = getelementptr inbounds <{ i8*, i32, i32, i8*, %struct.__block_descriptor*, i8* }>, …
38 store i32 1107296256, i32* %block.flags, align 8
49 %tmp7 = call i8* @objc_retainBlock(i8* %tmp6) nounwind, !clang.arc.copy_on_escape !0
58 call void %tmp14(i8* %tmp7, i32 10) nounwind, !clang.arc.no_objc_arc_exceptions !0
59 call void @objc_release(i8* %tmp7) nounwind, !clang.imprecise_release !0
79 …%byref.flags = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_w…
[all …]
/external/llvm/test/Instrumentation/DataFlowSanitizer/
Ddebug.ll5 ; Generated from a simple source file compiled with clang -g:
21 !llvm.module.flags = !{!9, !10}
24 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.6.0 ", isOptimized: f…
28 !4 = !MDSubprogram(name: "main", line: 1, isLocal: false, isDefinition: true, flags: DIFlagPrototyp…
35 !11 = !{!"clang version 3.6.0 "}
/external/nanopb-c/tests/
DSConstruct12 For example, for a clang build, use:
13 scons CC=clang CXX=clang++
36 def check_ccflags(context, flags, linkflags = ''):
38 context.Message('Checking support for CCFLAGS="%s"... ' % flags)
41 context.env.Append(CCFLAGS = flags)
80 # Check if we can use extra strict warning flags (only with GCC)
89 # Check if we can use undefined behaviour sanitizer (only with clang)
91 if 'clang' in env['CC']:
110 elif 'clang' in env['CC']:
132 if 'clang' in env['CXX']:
/external/llvm/test/DebugInfo/COFF/
Dcpp-mangling.ll3 ; This LL file was generated by running clang on the following code:
29 !llvm.module.flags = !{!8, !9}
32 !0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.6.0 ", isOptimized: f…
36 !4 = !MDSubprogram(name: "bar", line: 2, isLocal: false, isDefinition: true, flags: DIFlagPrototype…
42 !10 = !{!"clang version 3.6.0 "}

12345678910>>...19