xref: /freebsd/contrib/llvm-project/openmp/LICENSE.TXT (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1*fe6060f1SDimitry Andric==============================================================================
2*fe6060f1SDimitry AndricThe LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
3*fe6060f1SDimitry Andric==============================================================================
4*fe6060f1SDimitry Andric
5*fe6060f1SDimitry Andric                                 Apache License
6*fe6060f1SDimitry Andric                           Version 2.0, January 2004
7*fe6060f1SDimitry Andric                        http://www.apache.org/licenses/
8*fe6060f1SDimitry Andric
9*fe6060f1SDimitry Andric    TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
10*fe6060f1SDimitry Andric
11*fe6060f1SDimitry Andric    1. Definitions.
12*fe6060f1SDimitry Andric
13*fe6060f1SDimitry Andric      "License" shall mean the terms and conditions for use, reproduction,
14*fe6060f1SDimitry Andric      and distribution as defined by Sections 1 through 9 of this document.
15*fe6060f1SDimitry Andric
16*fe6060f1SDimitry Andric      "Licensor" shall mean the copyright owner or entity authorized by
17*fe6060f1SDimitry Andric      the copyright owner that is granting the License.
18*fe6060f1SDimitry Andric
19*fe6060f1SDimitry Andric      "Legal Entity" shall mean the union of the acting entity and all
20*fe6060f1SDimitry Andric      other entities that control, are controlled by, or are under common
21*fe6060f1SDimitry Andric      control with that entity. For the purposes of this definition,
22*fe6060f1SDimitry Andric      "control" means (i) the power, direct or indirect, to cause the
23*fe6060f1SDimitry Andric      direction or management of such entity, whether by contract or
24*fe6060f1SDimitry Andric      otherwise, or (ii) ownership of fifty percent (50%) or more of the
25*fe6060f1SDimitry Andric      outstanding shares, or (iii) beneficial ownership of such entity.
26*fe6060f1SDimitry Andric
27*fe6060f1SDimitry Andric      "You" (or "Your") shall mean an individual or Legal Entity
28*fe6060f1SDimitry Andric      exercising permissions granted by this License.
29*fe6060f1SDimitry Andric
30*fe6060f1SDimitry Andric      "Source" form shall mean the preferred form for making modifications,
31*fe6060f1SDimitry Andric      including but not limited to software source code, documentation
32*fe6060f1SDimitry Andric      source, and configuration files.
33*fe6060f1SDimitry Andric
34*fe6060f1SDimitry Andric      "Object" form shall mean any form resulting from mechanical
35*fe6060f1SDimitry Andric      transformation or translation of a Source form, including but
36*fe6060f1SDimitry Andric      not limited to compiled object code, generated documentation,
37*fe6060f1SDimitry Andric      and conversions to other media types.
38*fe6060f1SDimitry Andric
39*fe6060f1SDimitry Andric      "Work" shall mean the work of authorship, whether in Source or
40*fe6060f1SDimitry Andric      Object form, made available under the License, as indicated by a
41*fe6060f1SDimitry Andric      copyright notice that is included in or attached to the work
42*fe6060f1SDimitry Andric      (an example is provided in the Appendix below).
43*fe6060f1SDimitry Andric
44*fe6060f1SDimitry Andric      "Derivative Works" shall mean any work, whether in Source or Object
45*fe6060f1SDimitry Andric      form, that is based on (or derived from) the Work and for which the
46*fe6060f1SDimitry Andric      editorial revisions, annotations, elaborations, or other modifications
47*fe6060f1SDimitry Andric      represent, as a whole, an original work of authorship. For the purposes
48*fe6060f1SDimitry Andric      of this License, Derivative Works shall not include works that remain
49*fe6060f1SDimitry Andric      separable from, or merely link (or bind by name) to the interfaces of,
50*fe6060f1SDimitry Andric      the Work and Derivative Works thereof.
51*fe6060f1SDimitry Andric
52*fe6060f1SDimitry Andric      "Contribution" shall mean any work of authorship, including
53*fe6060f1SDimitry Andric      the original version of the Work and any modifications or additions
54*fe6060f1SDimitry Andric      to that Work or Derivative Works thereof, that is intentionally
55*fe6060f1SDimitry Andric      submitted to Licensor for inclusion in the Work by the copyright owner
56*fe6060f1SDimitry Andric      or by an individual or Legal Entity authorized to submit on behalf of
57*fe6060f1SDimitry Andric      the copyright owner. For the purposes of this definition, "submitted"
58*fe6060f1SDimitry Andric      means any form of electronic, verbal, or written communication sent
59*fe6060f1SDimitry Andric      to the Licensor or its representatives, including but not limited to
60*fe6060f1SDimitry Andric      communication on electronic mailing lists, source code control systems,
61*fe6060f1SDimitry Andric      and issue tracking systems that are managed by, or on behalf of, the
62*fe6060f1SDimitry Andric      Licensor for the purpose of discussing and improving the Work, but
63*fe6060f1SDimitry Andric      excluding communication that is conspicuously marked or otherwise
64*fe6060f1SDimitry Andric      designated in writing by the copyright owner as "Not a Contribution."
65*fe6060f1SDimitry Andric
66*fe6060f1SDimitry Andric      "Contributor" shall mean Licensor and any individual or Legal Entity
67*fe6060f1SDimitry Andric      on behalf of whom a Contribution has been received by Licensor and
68*fe6060f1SDimitry Andric      subsequently incorporated within the Work.
69*fe6060f1SDimitry Andric
70*fe6060f1SDimitry Andric    2. Grant of Copyright License. Subject to the terms and conditions of
71*fe6060f1SDimitry Andric      this License, each Contributor hereby grants to You a perpetual,
72*fe6060f1SDimitry Andric      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
73*fe6060f1SDimitry Andric      copyright license to reproduce, prepare Derivative Works of,
74*fe6060f1SDimitry Andric      publicly display, publicly perform, sublicense, and distribute the
75*fe6060f1SDimitry Andric      Work and such Derivative Works in Source or Object form.
76*fe6060f1SDimitry Andric
77*fe6060f1SDimitry Andric    3. Grant of Patent License. Subject to the terms and conditions of
78*fe6060f1SDimitry Andric      this License, each Contributor hereby grants to You a perpetual,
79*fe6060f1SDimitry Andric      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
80*fe6060f1SDimitry Andric      (except as stated in this section) patent license to make, have made,
81*fe6060f1SDimitry Andric      use, offer to sell, sell, import, and otherwise transfer the Work,
82*fe6060f1SDimitry Andric      where such license applies only to those patent claims licensable
83*fe6060f1SDimitry Andric      by such Contributor that are necessarily infringed by their
84*fe6060f1SDimitry Andric      Contribution(s) alone or by combination of their Contribution(s)
85*fe6060f1SDimitry Andric      with the Work to which such Contribution(s) was submitted. If You
86*fe6060f1SDimitry Andric      institute patent litigation against any entity (including a
87*fe6060f1SDimitry Andric      cross-claim or counterclaim in a lawsuit) alleging that the Work
88*fe6060f1SDimitry Andric      or a Contribution incorporated within the Work constitutes direct
89*fe6060f1SDimitry Andric      or contributory patent infringement, then any patent licenses
90*fe6060f1SDimitry Andric      granted to You under this License for that Work shall terminate
91*fe6060f1SDimitry Andric      as of the date such litigation is filed.
92*fe6060f1SDimitry Andric
93*fe6060f1SDimitry Andric    4. Redistribution. You may reproduce and distribute copies of the
94*fe6060f1SDimitry Andric      Work or Derivative Works thereof in any medium, with or without
95*fe6060f1SDimitry Andric      modifications, and in Source or Object form, provided that You
96*fe6060f1SDimitry Andric      meet the following conditions:
97*fe6060f1SDimitry Andric
98*fe6060f1SDimitry Andric      (a) You must give any other recipients of the Work or
99*fe6060f1SDimitry Andric          Derivative Works a copy of this License; and
100*fe6060f1SDimitry Andric
101*fe6060f1SDimitry Andric      (b) You must cause any modified files to carry prominent notices
102*fe6060f1SDimitry Andric          stating that You changed the files; and
103*fe6060f1SDimitry Andric
104*fe6060f1SDimitry Andric      (c) You must retain, in the Source form of any Derivative Works
105*fe6060f1SDimitry Andric          that You distribute, all copyright, patent, trademark, and
106*fe6060f1SDimitry Andric          attribution notices from the Source form of the Work,
107*fe6060f1SDimitry Andric          excluding those notices that do not pertain to any part of
108*fe6060f1SDimitry Andric          the Derivative Works; and
109*fe6060f1SDimitry Andric
110*fe6060f1SDimitry Andric      (d) If the Work includes a "NOTICE" text file as part of its
111*fe6060f1SDimitry Andric          distribution, then any Derivative Works that You distribute must
112*fe6060f1SDimitry Andric          include a readable copy of the attribution notices contained
113*fe6060f1SDimitry Andric          within such NOTICE file, excluding those notices that do not
114*fe6060f1SDimitry Andric          pertain to any part of the Derivative Works, in at least one
115*fe6060f1SDimitry Andric          of the following places: within a NOTICE text file distributed
116*fe6060f1SDimitry Andric          as part of the Derivative Works; within the Source form or
117*fe6060f1SDimitry Andric          documentation, if provided along with the Derivative Works; or,
118*fe6060f1SDimitry Andric          within a display generated by the Derivative Works, if and
119*fe6060f1SDimitry Andric          wherever such third-party notices normally appear. The contents
120*fe6060f1SDimitry Andric          of the NOTICE file are for informational purposes only and
121*fe6060f1SDimitry Andric          do not modify the License. You may add Your own attribution
122*fe6060f1SDimitry Andric          notices within Derivative Works that You distribute, alongside
123*fe6060f1SDimitry Andric          or as an addendum to the NOTICE text from the Work, provided
124*fe6060f1SDimitry Andric          that such additional attribution notices cannot be construed
125*fe6060f1SDimitry Andric          as modifying the License.
126*fe6060f1SDimitry Andric
127*fe6060f1SDimitry Andric      You may add Your own copyright statement to Your modifications and
128*fe6060f1SDimitry Andric      may provide additional or different license terms and conditions
129*fe6060f1SDimitry Andric      for use, reproduction, or distribution of Your modifications, or
130*fe6060f1SDimitry Andric      for any such Derivative Works as a whole, provided Your use,
131*fe6060f1SDimitry Andric      reproduction, and distribution of the Work otherwise complies with
132*fe6060f1SDimitry Andric      the conditions stated in this License.
133*fe6060f1SDimitry Andric
134*fe6060f1SDimitry Andric    5. Submission of Contributions. Unless You explicitly state otherwise,
135*fe6060f1SDimitry Andric      any Contribution intentionally submitted for inclusion in the Work
136*fe6060f1SDimitry Andric      by You to the Licensor shall be under the terms and conditions of
137*fe6060f1SDimitry Andric      this License, without any additional terms or conditions.
138*fe6060f1SDimitry Andric      Notwithstanding the above, nothing herein shall supersede or modify
139*fe6060f1SDimitry Andric      the terms of any separate license agreement you may have executed
140*fe6060f1SDimitry Andric      with Licensor regarding such Contributions.
141*fe6060f1SDimitry Andric
142*fe6060f1SDimitry Andric    6. Trademarks. This License does not grant permission to use the trade
143*fe6060f1SDimitry Andric      names, trademarks, service marks, or product names of the Licensor,
144*fe6060f1SDimitry Andric      except as required for reasonable and customary use in describing the
145*fe6060f1SDimitry Andric      origin of the Work and reproducing the content of the NOTICE file.
146*fe6060f1SDimitry Andric
147*fe6060f1SDimitry Andric    7. Disclaimer of Warranty. Unless required by applicable law or
148*fe6060f1SDimitry Andric      agreed to in writing, Licensor provides the Work (and each
149*fe6060f1SDimitry Andric      Contributor provides its Contributions) on an "AS IS" BASIS,
150*fe6060f1SDimitry Andric      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
151*fe6060f1SDimitry Andric      implied, including, without limitation, any warranties or conditions
152*fe6060f1SDimitry Andric      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
153*fe6060f1SDimitry Andric      PARTICULAR PURPOSE. You are solely responsible for determining the
154*fe6060f1SDimitry Andric      appropriateness of using or redistributing the Work and assume any
155*fe6060f1SDimitry Andric      risks associated with Your exercise of permissions under this License.
156*fe6060f1SDimitry Andric
157*fe6060f1SDimitry Andric    8. Limitation of Liability. In no event and under no legal theory,
158*fe6060f1SDimitry Andric      whether in tort (including negligence), contract, or otherwise,
159*fe6060f1SDimitry Andric      unless required by applicable law (such as deliberate and grossly
160*fe6060f1SDimitry Andric      negligent acts) or agreed to in writing, shall any Contributor be
161*fe6060f1SDimitry Andric      liable to You for damages, including any direct, indirect, special,
162*fe6060f1SDimitry Andric      incidental, or consequential damages of any character arising as a
163*fe6060f1SDimitry Andric      result of this License or out of the use or inability to use the
164*fe6060f1SDimitry Andric      Work (including but not limited to damages for loss of goodwill,
165*fe6060f1SDimitry Andric      work stoppage, computer failure or malfunction, or any and all
166*fe6060f1SDimitry Andric      other commercial damages or losses), even if such Contributor
167*fe6060f1SDimitry Andric      has been advised of the possibility of such damages.
168*fe6060f1SDimitry Andric
169*fe6060f1SDimitry Andric    9. Accepting Warranty or Additional Liability. While redistributing
170*fe6060f1SDimitry Andric      the Work or Derivative Works thereof, You may choose to offer,
171*fe6060f1SDimitry Andric      and charge a fee for, acceptance of support, warranty, indemnity,
172*fe6060f1SDimitry Andric      or other liability obligations and/or rights consistent with this
173*fe6060f1SDimitry Andric      License. However, in accepting such obligations, You may act only
174*fe6060f1SDimitry Andric      on Your own behalf and on Your sole responsibility, not on behalf
175*fe6060f1SDimitry Andric      of any other Contributor, and only if You agree to indemnify,
176*fe6060f1SDimitry Andric      defend, and hold each Contributor harmless for any liability
177*fe6060f1SDimitry Andric      incurred by, or claims asserted against, such Contributor by reason
178*fe6060f1SDimitry Andric      of your accepting any such warranty or additional liability.
179*fe6060f1SDimitry Andric
180*fe6060f1SDimitry Andric    END OF TERMS AND CONDITIONS
181*fe6060f1SDimitry Andric
182*fe6060f1SDimitry Andric    APPENDIX: How to apply the Apache License to your work.
183*fe6060f1SDimitry Andric
184*fe6060f1SDimitry Andric      To apply the Apache License to your work, attach the following
185*fe6060f1SDimitry Andric      boilerplate notice, with the fields enclosed by brackets "[]"
186*fe6060f1SDimitry Andric      replaced with your own identifying information. (Don't include
187*fe6060f1SDimitry Andric      the brackets!)  The text should be enclosed in the appropriate
188*fe6060f1SDimitry Andric      comment syntax for the file format. We also recommend that a
189*fe6060f1SDimitry Andric      file or class name and description of purpose be included on the
190*fe6060f1SDimitry Andric      same "printed page" as the copyright notice for easier
191*fe6060f1SDimitry Andric      identification within third-party archives.
192*fe6060f1SDimitry Andric
193*fe6060f1SDimitry Andric    Copyright [yyyy] [name of copyright owner]
194*fe6060f1SDimitry Andric
195*fe6060f1SDimitry Andric    Licensed under the Apache License, Version 2.0 (the "License");
196*fe6060f1SDimitry Andric    you may not use this file except in compliance with the License.
197*fe6060f1SDimitry Andric    You may obtain a copy of the License at
198*fe6060f1SDimitry Andric
199*fe6060f1SDimitry Andric       http://www.apache.org/licenses/LICENSE-2.0
200*fe6060f1SDimitry Andric
201*fe6060f1SDimitry Andric    Unless required by applicable law or agreed to in writing, software
202*fe6060f1SDimitry Andric    distributed under the License is distributed on an "AS IS" BASIS,
203*fe6060f1SDimitry Andric    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
204*fe6060f1SDimitry Andric    See the License for the specific language governing permissions and
205*fe6060f1SDimitry Andric    limitations under the License.
206*fe6060f1SDimitry Andric
207*fe6060f1SDimitry Andric
208*fe6060f1SDimitry Andric---- LLVM Exceptions to the Apache 2.0 License ----
209*fe6060f1SDimitry Andric
210*fe6060f1SDimitry AndricAs an exception, if, as a result of your compiling your source code, portions
211*fe6060f1SDimitry Andricof this Software are embedded into an Object form of such source code, you
212*fe6060f1SDimitry Andricmay redistribute such embedded portions in such Object form without complying
213*fe6060f1SDimitry Andricwith the conditions of Sections 4(a), 4(b) and 4(d) of the License.
214*fe6060f1SDimitry Andric
215*fe6060f1SDimitry AndricIn addition, if you combine or link compiled forms of this Software with
216*fe6060f1SDimitry Andricsoftware that is licensed under the GPLv2 ("Combined Software") and if a
217*fe6060f1SDimitry Andriccourt of competent jurisdiction determines that the patent provision (Section
218*fe6060f1SDimitry Andric3), the indemnity provision (Section 9) or other Section of the License
219*fe6060f1SDimitry Andricconflicts with the conditions of the GPLv2, you may retroactively and
220*fe6060f1SDimitry Andricprospectively choose to deem waived or otherwise exclude such Section(s) of
221*fe6060f1SDimitry Andricthe License, but only in their entirety and only with respect to the Combined
222*fe6060f1SDimitry AndricSoftware.
223*fe6060f1SDimitry Andric
224*fe6060f1SDimitry Andric==============================================================================
225*fe6060f1SDimitry AndricSoftware from third parties included in the LLVM Project:
226*fe6060f1SDimitry Andric==============================================================================
227*fe6060f1SDimitry AndricThe LLVM Project contains third party software which is under different license
228*fe6060f1SDimitry Andricterms. All such code will be identified clearly using at least one of two
229*fe6060f1SDimitry Andricmechanisms:
230*fe6060f1SDimitry Andric1) It will be in a separate directory tree with its own `LICENSE.txt` or
231*fe6060f1SDimitry Andric   `LICENSE` file at the top containing the specific license and restrictions
232*fe6060f1SDimitry Andric   which apply to that software, or
233*fe6060f1SDimitry Andric2) It will contain specific license and restriction terms at the top of every
234*fe6060f1SDimitry Andric   file.
235*fe6060f1SDimitry Andric
236*fe6060f1SDimitry Andric==============================================================================
237*fe6060f1SDimitry AndricLegacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
238*fe6060f1SDimitry Andric==============================================================================
239*fe6060f1SDimitry Andric
240*fe6060f1SDimitry AndricThe software contained in this directory tree is dual licensed under both the
241*fe6060f1SDimitry AndricUniversity of Illinois "BSD-Like" license and the MIT license.  As a user of
242*fe6060f1SDimitry Andricthis code you may choose to use it under either license.  As a contributor,
243*fe6060f1SDimitry Andricyou agree to allow your code to be used under both.  The full text of the
244*fe6060f1SDimitry Andricrelevant licenses is included below.
245*fe6060f1SDimitry Andric
246*fe6060f1SDimitry AndricIn addition, a license agreement from the copyright/patent holders of the
247*fe6060f1SDimitry Andricsoftware contained in this directory tree is included below.
248*fe6060f1SDimitry Andric
249*fe6060f1SDimitry Andric==============================================================================
250*fe6060f1SDimitry Andric
251*fe6060f1SDimitry AndricUniversity of Illinois/NCSA
252*fe6060f1SDimitry AndricOpen Source License
253*fe6060f1SDimitry Andric
254*fe6060f1SDimitry AndricCopyright (c) 1997-2019 Intel Corporation
255*fe6060f1SDimitry Andric
256*fe6060f1SDimitry AndricAll rights reserved.
257*fe6060f1SDimitry Andric
258*fe6060f1SDimitry AndricDeveloped by:
259*fe6060f1SDimitry Andric    OpenMP Runtime Team
260*fe6060f1SDimitry Andric    Intel Corporation
261*fe6060f1SDimitry Andric    http://www.openmprtl.org
262*fe6060f1SDimitry Andric
263*fe6060f1SDimitry AndricPermission is hereby granted, free of charge, to any person obtaining a copy of
264*fe6060f1SDimitry Andricthis software and associated documentation files (the "Software"), to deal with
265*fe6060f1SDimitry Andricthe Software without restriction, including without limitation the rights to
266*fe6060f1SDimitry Andricuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
267*fe6060f1SDimitry Andricof the Software, and to permit persons to whom the Software is furnished to do
268*fe6060f1SDimitry Andricso, subject to the following conditions:
269*fe6060f1SDimitry Andric
270*fe6060f1SDimitry Andric    * Redistributions of source code must retain the above copyright notice,
271*fe6060f1SDimitry Andric      this list of conditions and the following disclaimers.
272*fe6060f1SDimitry Andric
273*fe6060f1SDimitry Andric    * Redistributions in binary form must reproduce the above copyright notice,
274*fe6060f1SDimitry Andric      this list of conditions and the following disclaimers in the
275*fe6060f1SDimitry Andric      documentation and/or other materials provided with the distribution.
276*fe6060f1SDimitry Andric
277*fe6060f1SDimitry Andric    * Neither the names of Intel Corporation OpenMP Runtime Team nor the
278*fe6060f1SDimitry Andric      names of its contributors may be used to endorse or promote products
279*fe6060f1SDimitry Andric      derived from this Software without specific prior written permission.
280*fe6060f1SDimitry Andric
281*fe6060f1SDimitry AndricTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
282*fe6060f1SDimitry AndricIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
283*fe6060f1SDimitry AndricFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
284*fe6060f1SDimitry AndricCONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
285*fe6060f1SDimitry AndricLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
286*fe6060f1SDimitry AndricOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
287*fe6060f1SDimitry AndricSOFTWARE.
288*fe6060f1SDimitry Andric
289*fe6060f1SDimitry Andric==============================================================================
290*fe6060f1SDimitry Andric
291*fe6060f1SDimitry AndricCopyright (c) 1997-2019 Intel Corporation
292*fe6060f1SDimitry Andric
293*fe6060f1SDimitry AndricPermission is hereby granted, free of charge, to any person obtaining a copy
294*fe6060f1SDimitry Andricof this software and associated documentation files (the "Software"), to deal
295*fe6060f1SDimitry Andricin the Software without restriction, including without limitation the rights
296*fe6060f1SDimitry Andricto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
297*fe6060f1SDimitry Andriccopies of the Software, and to permit persons to whom the Software is
298*fe6060f1SDimitry Andricfurnished to do so, subject to the following conditions:
299*fe6060f1SDimitry Andric
300*fe6060f1SDimitry AndricThe above copyright notice and this permission notice shall be included in
301*fe6060f1SDimitry Andricall copies or substantial portions of the Software.
302*fe6060f1SDimitry Andric
303*fe6060f1SDimitry AndricTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
304*fe6060f1SDimitry AndricIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
305*fe6060f1SDimitry AndricFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
306*fe6060f1SDimitry AndricAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
307*fe6060f1SDimitry AndricLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
308*fe6060f1SDimitry AndricOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
309*fe6060f1SDimitry AndricTHE SOFTWARE.
310*fe6060f1SDimitry Andric
311*fe6060f1SDimitry Andric==============================================================================
312*fe6060f1SDimitry Andric
313*fe6060f1SDimitry AndricIntel Corporation
314*fe6060f1SDimitry Andric
315*fe6060f1SDimitry AndricSoftware Grant License Agreement ("Agreement")
316*fe6060f1SDimitry Andric
317*fe6060f1SDimitry AndricExcept for the license granted herein to you, Intel Corporation ("Intel") reserves
318*fe6060f1SDimitry Andricall right, title, and interest in and to the Software (defined below).
319*fe6060f1SDimitry Andric
320*fe6060f1SDimitry AndricDefinition
321*fe6060f1SDimitry Andric
322*fe6060f1SDimitry Andric"Software" means the code and documentation as well as any original work of
323*fe6060f1SDimitry Andricauthorship, including any modifications or additions to an existing work, that
324*fe6060f1SDimitry Andricis intentionally submitted by Intel to llvm.org (http://llvm.org) ("LLVM") for
325*fe6060f1SDimitry Andricinclusion in, or documentation of, any of the products owned or managed by LLVM
326*fe6060f1SDimitry Andric(the "Work"). For the purposes of this definition, "submitted" means any form of
327*fe6060f1SDimitry Andricelectronic, verbal, or written communication sent to LLVM or its
328*fe6060f1SDimitry Andricrepresentatives, including but not limited to communication on electronic
329*fe6060f1SDimitry Andricmailing lists, source code control systems, and issue tracking systems that are
330*fe6060f1SDimitry Andricmanaged by, or on behalf of, LLVM for the purpose of discussing and improving
331*fe6060f1SDimitry Andricthe Work, but excluding communication that is conspicuously marked otherwise.
332*fe6060f1SDimitry Andric
333*fe6060f1SDimitry Andric1. Grant of Copyright License. Subject to the terms and conditions of this
334*fe6060f1SDimitry Andric   Agreement, Intel hereby grants to you and to recipients of the Software
335*fe6060f1SDimitry Andric   distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
336*fe6060f1SDimitry Andric   royalty-free, irrevocable copyright license to reproduce, prepare derivative
337*fe6060f1SDimitry Andric   works of, publicly display, publicly perform, sublicense, and distribute the
338*fe6060f1SDimitry Andric   Software and such derivative works.
339*fe6060f1SDimitry Andric
340*fe6060f1SDimitry Andric2. Grant of Patent License. Subject to the terms and conditions of this
341*fe6060f1SDimitry Andric   Agreement, Intel hereby grants you and to recipients of the Software
342*fe6060f1SDimitry Andric   distributed by LLVM a perpetual, worldwide, non-exclusive, no-charge,
343*fe6060f1SDimitry Andric   royalty-free, irrevocable (except as stated in this section) patent license
344*fe6060f1SDimitry Andric   to make, have made, use, offer to sell, sell, import, and otherwise transfer
345*fe6060f1SDimitry Andric   the Work, where such license applies only to those patent claims licensable
346*fe6060f1SDimitry Andric   by Intel that are necessarily infringed by Intel's Software alone or by
347*fe6060f1SDimitry Andric   combination of the Software with the Work to which such Software was
348*fe6060f1SDimitry Andric   submitted. If any entity institutes patent litigation against Intel or any
349*fe6060f1SDimitry Andric   other entity (including a cross-claim or counterclaim in a lawsuit) alleging
350*fe6060f1SDimitry Andric   that Intel's Software, or the Work to which Intel has contributed constitutes
351*fe6060f1SDimitry Andric   direct or contributory patent infringement, then any patent licenses granted
352*fe6060f1SDimitry Andric   to that entity under this Agreement for the Software or Work shall terminate
353*fe6060f1SDimitry Andric   as of the date such litigation is filed.
354*fe6060f1SDimitry Andric
355*fe6060f1SDimitry AndricUnless required by applicable law or agreed to in writing, the software is
356*fe6060f1SDimitry Andricprovided on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
357*fe6060f1SDimitry Andriceither express or implied, including, without limitation, any warranties or
358*fe6060f1SDimitry Andricconditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
359*fe6060f1SDimitry AndricPARTICULAR PURPOSE.
360*fe6060f1SDimitry Andric
361*fe6060f1SDimitry Andric==============================================================================
362