Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge recent LLVM changes #20

Merged
merged 2,770 commits into from
Feb 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2770 commits
Select commit Hold shift + click to select a range
4877715
Revert "[ThinLTO] Rename COMDATs for COFF when promoting/renaming COM…
teresajohnson Jan 31, 2019
4ec1599
revert r352766: [PatternMatch] add special-case uaddo matching for in…
rotateright Jan 31, 2019
f59242e
Recommit "[ThinLTO] Rename COMDATs for COFF when promoting/renaming C…
teresajohnson Jan 31, 2019
c1892ec
[CallSite removal] Remove CallSite uses from InstCombine.
topperc Jan 31, 2019
d03bf06
Fix use of non-existing variable in crashlog.py
shafik Jan 31, 2019
d04a2d2
[X86][AVX] insert_subvector(bitcast(v), bitcast(s), c1) -> bitcast(in…
RKSimon Jan 31, 2019
eb6aef6
[X86][AVX] Fold concat(broadcast(x),broadcast(x)) -> broadcast(x)
RKSimon Jan 31, 2019
00cefe1
Trim trailing whitespace. NFCI.
RKSimon Jan 31, 2019
9f4563b
[ADT] Fix a typo in isOSVersionLT that breaks the Micro version check
bob-wilson Jan 31, 2019
4b94d25
GlobalISel: Fix handling of vectors of pointers in clamp{Min,Max}NumE…
arsenm Jan 31, 2019
02a86e6
[libFuzzer] relax a flaky test
kcc Jan 31, 2019
ede49dd
Lower widenable_conditions in CGP
preames Jan 31, 2019
043ff33
[unittest] Fix scalar unit test.
JDevlieghere Jan 31, 2019
dd426c2
Fix a bit of libc++-specific behavior in the regex tests; add a missi…
mclow Jan 31, 2019
a8f0745
Revert "[X86] Mark EMMS and FEMMS as clobbering MM0-7 and ST0-7."
topperc Jan 31, 2019
ae527ac
[Intrinsic] Expand SMULFIX to MUL, MULH[US], or [US]MUL_LOHI on vecto…
PiJoules Jan 31, 2019
4061b44
[DAG] Aggressively cleanup dangling node in CombineZExtLogicopShiftLoad.
niravhdave Jan 31, 2019
82937e4
[ELF] Return the section name when calling getSymbolName on a section…
Jan 31, 2019
b792299
[DAG][SystemZ] Define unwrapAddress for PCREL_WRAPPER.
niravhdave Jan 31, 2019
240a90a
[MemorySSA] Extend removeMemoryAccess API to optimize MemoryPhis.
alinas Jan 31, 2019
4f9543b
[CodeComplete] Propagate preferred types through parser in more cases
ilya-biryukov Jan 31, 2019
fc7faec
[fuzzer] Use RawPrint instead of Printf for instrumentation warning
jonathanmetzman Jan 31, 2019
e1b332e
[cmake] Note future cleanup in comment. NFC
smeenai Jan 31, 2019
f47d6b3
[opaque pointer types] Add a FunctionCallee wrapper type, and use it.
jyknight Jan 31, 2019
0bed9e0
[DAGCombine] Avoid CombineZExtLogicopShiftLoad if there is free ZEXT
weiguozhi Jan 31, 2019
88058d4
[WebAssembly] Add bulk memory target feature
tlively Jan 31, 2019
e271889
[EarlyCSE & MSSA] Cleanup special handling for removing MemoryAccesses.
alinas Jan 31, 2019
0bd6b91
Fix compilation error with GCC after r352791.
jyknight Jan 31, 2019
4399878
[clangd] A code action to swap branches of an if statement
ilya-biryukov Jan 31, 2019
8fa28a0
[CUDA] Propagate detected version of CUDA to cc1
Artem-B Jan 31, 2019
c62214d
[CUDA] add support for the new kernel launch API in CUDA-9.2+.
Artem-B Jan 31, 2019
fadf250
Revert "[opaque pointer types] Add a FunctionCallee wrapper type, and…
jyknight Jan 31, 2019
277e064
Do not copy long double and 128-bit fp format from aux target for AMDGPU
yxsamliu Jan 31, 2019
8f6182f
[Hexagon] Rename textually included file from .h to .inc
Weverything Jan 31, 2019
0abcafd
Make clang/test/Index/pch-from-libclang.c pass in more places
nico Jan 31, 2019
9560b79
[ASTDump] Make template specialization tests more exact
steveire Jan 31, 2019
d16ca2f
[x86] add test for missed opportunity to use 'inc'; NFC
rotateright Jan 31, 2019
c0affde
[WebAssembly] MC: Fix for outputing wasm object to /dev/null
sbc100 Jan 31, 2019
d834d83
[RISCV] Add RV64F codegen support
asb Jan 31, 2019
c944462
Re-disable pch-from-libclang.c after 352803, some buildbots are still…
nico Jan 31, 2019
5f563f0
Fixed hasLinkerPrivateGlobalPrefix treating StringRef as C String.
aardappel Jan 31, 2019
62bb58a
Bump minimum toolchain version
jfbastien Jan 31, 2019
d5dbe83
DeveloperPolicy: update toolchain with sample RFC / patch
jfbastien Jan 31, 2019
9a48438
[WebAssembly] Fix a regression selecting negative build_vector lanes
tlively Jan 31, 2019
e2dedd5
Revert "Bump minimum toolchain version"
jfbastien Jan 31, 2019
6f94a03
[libFuzzer][Windows] Temporarily disable value-profile-cmp2.test on Win
jonathanmetzman Jan 31, 2019
886b7cc
hwasan: Add __hwasan_init_static() function.
pcc Jan 31, 2019
50d6579
GlobalISel: Fix MMO creation with non-power-of-2 mem size
arsenm Jan 31, 2019
a78a44d
[sanitizer-coverage] prune trace-cmp instrumentation for CMP isntruct…
kcc Jan 31, 2019
ae667c4
[libFuzzer] make a test for exploding dfsan labels more agressive
kcc Jan 31, 2019
da45d68
[x86] add test for missed opportunity to use 'inc'; NFC
rotateright Jan 31, 2019
ef9a388
[x86] adjust test to show both add/inc options; NFC
rotateright Feb 1, 2019
9e67183
Revert "[Sema] Make canPassInRegisters return true if the CXXRecordDe…
ahatanaka Feb 1, 2019
6fa43f8
Mark __rela_iplt_{start,end} as weak.
pcc Feb 1, 2019
b6c6ab3
[analyzer] [RetainCountChecker] Fix object type for CF/Obj-C bridged …
Feb 1, 2019
dfbd190
Fix names of functions in TargetOptionsCommandFlags.h. NFC.
sbc100 Feb 1, 2019
b4744d3
[ELF] Support --{,no-}allow-shlib-undefined
MaskRay Feb 1, 2019
1368022
[opaque pointer types] Add a FunctionCallee wrapper type, and use it.
jyknight Feb 1, 2019
7cc0753
[WebAssembly] Support imports from custom module names
sbc100 Feb 1, 2019
b6c06dc
[Sanitizers] UBSan unreachable incompatible with ASan in the presence…
yln Feb 1, 2019
473e342
Fix compilation of examples after 13680223b9d8 / r352827
jyknight Feb 1, 2019
3aba9fd
[SemaCXX] Param diagnostic matches overload logic
modocache Feb 1, 2019
32b7738
[SelectionDAG] Support promotion of the FPOWI integer operand
asb Feb 1, 2019
7539fa2
[RISCV] Implement RV64D codegen
asb Feb 1, 2019
77074f9
Bump minimum toolchain version
jfbastien Feb 1, 2019
c6931dd
Revert "Bump minimum toolchain version"
jfbastien Feb 1, 2019
8a32f3b
[clangd] Fix crash in applyTweak, remove TweakID alias.
sam-mccall Feb 1, 2019
5ef88bd
Fix isInSystemMacro to handle pasted macros
Feb 1, 2019
4cdd783
[SLPVectorizer] Get rid of IndexQueue array from vectorizeStores. NFCI.
Feb 1, 2019
afe8a04
[obj2yaml] - Merge dumpRelSection and dumpRelaSection. NFC.
Feb 1, 2019
11f7969
[clangd] Fix -DBUILD_SHARED_LIBS=ON build - SwapIfBranches needs clan…
LebedevRI Feb 1, 2019
f3e00fe
Test commit: fix typo
smateo Feb 1, 2019
3440c33
[clangd] clangDaemonTweaks - fix -DBUILD_SHARED_LIBS=ON build
LebedevRI Feb 1, 2019
bac1151
[CodeGen] Don't scavenge non-saved regs in exception throwing functions
ostannard Feb 1, 2019
758657e
[PDB] Fix location retrieval for function local variables and argumen…
Feb 1, 2019
fb3ca13
[doc]Update String Error documentation in Programmer Manual
jh7370 Feb 1, 2019
563a29d
[llvm-symbolizer][test] Rename and tweak tests using llvm-symbolizer
jh7370 Feb 1, 2019
212833c
Revert r352750.
jh7370 Feb 1, 2019
15b17d0
Provide reason messages for unviable inlining
Feb 1, 2019
554644e
[clangd] Unbreak fuzzer target
sam-mccall Feb 1, 2019
2c15fc5
[PDB] Fix build after r352845
Feb 1, 2019
7857215
[X86][BdVer2] Transfer delays from the integer to the floating point …
LebedevRI Feb 1, 2019
d226bc8
Disable tidy checks with too many hits
ilya-biryukov Feb 1, 2019
b34fca6
[clangd] Use delimited style to make life easier for the fuzzer
sam-mccall Feb 1, 2019
866ba2c
[clangd] Implement textDocument/declaration from LSP 3.14
sam-mccall Feb 1, 2019
f4b19c0
[CUDA] Relax lit test condition after r352798.
Feb 1, 2019
b3ccc55
[AArch64] Optimize floating point materialization
zatrazz Feb 1, 2019
a4cf26b
[clangd] Penalize file-scope symbols in the ranking for non-completio…
sam-mccall Feb 1, 2019
d9e66e1
[CMake] Add install targets for utilities to LLVM exports if LLVM_INS…
weliveindetail Feb 1, 2019
be23a91
[InstCombine] try to reduce x86 addcarry to generic uaddo intrinsic
rotateright Feb 1, 2019
8495aab
[InstCombine] Fix -Wunused-variable when -DLLVM_ENABLE_ASSERTIONS=off
MaskRay Feb 1, 2019
4fb0a2c
[libclang] Fix -DBUILD_SHARED_LIBS=on build after rC352803
MaskRay Feb 1, 2019
fbcbac7
[InstCombine] reduce duplicate code; NFC
rotateright Feb 1, 2019
3186e3c
[clangd] Lib to compute and represent selection under cursor.
sam-mccall Feb 1, 2019
2048f22
[clangd] Lib to compute and represent selection under cursor.
sam-mccall Feb 1, 2019
9c8f432
[clangd] Expose SelectionTree to code tweaks, and use it for swap if …
sam-mccall Feb 1, 2019
971d476
[llvm-objcopy][NFC] Propagate errors in removeSymbols/removeSectionRe…
rupprecht Feb 1, 2019
05a3f99
[llvm-strip] Implement --keep-file-symbols
eleviant Feb 1, 2019
1a529f5
[X86][AVX] Combine INSERT_SUBVECTOR(SRC0, BITCAST(SHUFFLE(EXTRACT_SUB…
RKSimon Feb 1, 2019
0279b5b
[TargetLowering] try harder to determine undef elements of vector binops
rotateright Feb 1, 2019
f869996
[CMake] External compiler-rt-configure requires LLVMTestingSupport wh…
weliveindetail Feb 1, 2019
9fb113e
[AST][OpenMP] OpenMP Sections / Section constructs contain Structured…
LebedevRI Feb 1, 2019
8518401
[X86][SSE] Use PSLLDQ/PSRLDQ to mask out zeroable ends of a shuffle
RKSimon Feb 1, 2019
6502b14
[SDAG] improve variable names; NFC
rotateright Feb 1, 2019
fa3e4e5
[AMDGPU] Fix for vector element insertion
Feb 1, 2019
3724d15
[InstCombine] Refactor test checks (NFC)
Feb 1, 2019
94b9709
Fix some sphinx doc errors.
jyknight Feb 1, 2019
18886db
[llvm-objcopy][NFC] More error propagation (executeObjcopyOnArchive)
rupprecht Feb 1, 2019
58513b7
[DWARF v5] Fix DWARF emitter and consumer to produce/expect a uleb fo…
wolfy1961 Feb 1, 2019
1238838
Update SanitizerCoverage doc regarding the issue with pc-table and gc…
Dor1s Feb 1, 2019
68fad50
[llvm-nm] Report '.comment' ELF sections as 'n' instead of '?'
Feb 1, 2019
743ba66
[InstCombine] Expand Windows test (NFC)
Feb 1, 2019
186fcdb
gn build: Add a missing dependency from llvm/test to llvm-lit
nico Feb 1, 2019
5c65444
Fix the xcode build for r352845.
jimingham Feb 1, 2019
25b4c4c
[InstCombine] Refactor test checks (NFC)
Feb 1, 2019
50ca8ed
[llvm-readobj] Add a flag to dump just the section-to-segment mapping.
Feb 1, 2019
7f29195
test commit (add blank line) NFC
RolandF77 Feb 1, 2019
5503e4f
Fix a bug in the definition of isUnordered on MachineMemOperand
preames Feb 1, 2019
7ba2d3e
[lldb] Relax libc++ ABI version checking
tanderson-google Feb 1, 2019
5d9c8ad
[llvm-objdump] - llvm-objdump can skip bytes at the end of a section.
Feb 1, 2019
5c49a3f
Revert "Fix the xcode build for r352845."
weliveindetail Feb 1, 2019
da8fe66
Fix the xcode build for r352845, attempt #2
weliveindetail Feb 1, 2019
6e75c7e
Hopefully fix a couple more sphinx doc errors.
jyknight Feb 1, 2019
8b323f5
[InstCombine] Extra null-checking on TFE/LWE support
darkbuck Feb 1, 2019
6b653fc
[libc++] Disentangle the 3 implementations of type_info
ldionne Feb 1, 2019
251e148
[OpenMP 5.0] Parsing/sema support for "omp declare mapper" directive.
Meinersbur Feb 1, 2019
a18761a
gn build: Create regular archives for the sanitizer runtimes.
pcc Feb 1, 2019
c456309
[InstCombine] Expand Windows test (NFC)
Feb 1, 2019
7976eb5
[opaque pointer types] Pass function types to CallInst creation.
jyknight Feb 1, 2019
d9e85a0
[opaque pointer types] Pass function types to InvokeInst creation.
jyknight Feb 1, 2019
14359ef
[opaque pointer types] Pass value type to LoadInst creation.
jyknight Feb 1, 2019
7716075
[opaque pointer types] Pass value type to GetElementPtr creation.
jyknight Feb 1, 2019
291f791
[opaque pointer types] Pass function type for CallBase::setCalledFunc…
jyknight Feb 1, 2019
835df27
[DebugInfo] Don't use realpath when looking up debug binary locations.
rupprecht Feb 1, 2019
d91776a
[InstCombine] Expand Windows test (NFC)
Feb 1, 2019
614dd19
[DebugInfo] Fix mkdir use in test
rupprecht Feb 1, 2019
de9ffab
Don't use ASTContext in DeclOpenMP.h because it's still incomplete.
EricWF Feb 1, 2019
afc24ed
[AMDGPU] Mark test functions with hidden visibility
scott-linder Feb 1, 2019
33706e3
[ubsan] Make suppressions.cpp test pass for me on Windows
rnk Feb 1, 2019
e95550f
[X86][AVX] Add VMOVDDUP-VPBROADCASTQ execution domain mapping
RKSimon Feb 1, 2019
70d484d
[COFF, ARM64] Fix localaddress to handle stack realignment and variab…
Feb 1, 2019
259e1bd
Factor out duplication between ExprIterator and ConstExprIterator.
zygoloid Feb 1, 2019
2e719bc
add a test and a couple minor bug fixes for the implicit-signed-integ…
mclow Feb 1, 2019
1147f71
Improve diagnostic to tell you a type is incomplete.
EricWF Feb 1, 2019
b2b0cab
[COFF] Fix crashes when writing a PDB after adding thunks.
mstorsjo Feb 1, 2019
c9f4d25
[COFF] Create range extension thunks for ARM64
mstorsjo Feb 1, 2019
cae8459
[WebAssembly] Add an import_field function attribute
Feb 1, 2019
f726e44
[WebAssembly] Add codegen support for the import_field attribute
Feb 1, 2019
05fc7ed
[Test] Update file w/update_test_checks.py to make a follow on change…
preames Feb 1, 2019
a21f342
Revert "[AST][OpenMP] OpenMP Sections / Section constructs contain St…
LebedevRI Feb 1, 2019
39ad187
[InstCombine] Refactor test checks (NFC)
Feb 1, 2019
b392ac9
[WebAssembly] Fix ImportName's position in this test.
Feb 1, 2019
00056ed
[CodeGen] Be as conservative about atomic accesses as for volatile
preames Feb 1, 2019
77b3530
[analyzer] Hotfix for RetainCountChecker: assert was too strong.
Feb 1, 2019
5233fb8
[BPF] [BTF] Process FileName with absolute path correctly
yonghong-song Feb 1, 2019
dc1e778
[AArch64] Fix unused variable [NFC]
Feb 1, 2019
329010e
Revert "[BPF] [BTF] Process FileName with absolute path correctly"
yonghong-song Feb 1, 2019
1bccafe
Handle cases where the dirent::d_type macros aren't defined
EricWF Feb 1, 2019
ae02943
[ELF] Default to --no-allow-shlib-undefined for executables
MaskRay Feb 2, 2019
d911ed1
[llvm-objcopy] Add ability to copy MachO object files
alexander-shaposhnikov Feb 2, 2019
2be4eab
[AutoUpgrade] Fix AutoUpgrade for x86.seh.recoverfp
Feb 2, 2019
916db65
Remove redundant FunctionDecl argument from a couple functions.
jyknight Feb 2, 2019
7d53675
[llvm-objcopy] Fix triples in macho tests.
alexander-shaposhnikov Feb 2, 2019
f82d892
[ASan] Do not instrument other runtime functions with `__asan_handle_…
yln Feb 2, 2019
a504897
[Sema][ObjC] Allow declaring ObjC pointer members with non-trivial
ahatanaka Feb 2, 2019
d078b4e
[llvm-objcopy] Temporarily limit one test to darwin
alexander-shaposhnikov Feb 2, 2019
c9a69ac
Bump minimum toolchain version
jfbastien Feb 2, 2019
fa36540
[BPF] [BTF] Process FileName with absolute path correctly
yonghong-song Feb 2, 2019
0dbab7f
[Clangd] textDocument/definition and textDocument/declaration "bounce…
sam-mccall Feb 2, 2019
115b64b
Revert "Bump minimum toolchain version"
jfbastien Feb 2, 2019
d3107a7
[X86][SSE]: Adding full coverage of MC encoding tests for the SSE isa…
topperc Feb 2, 2019
1be906a
[ASTImporter] Fix up test that only works on X86.
davemgreen Feb 2, 2019
44d6f9e
[clangd] Fix heap-use-after-free after r352868
Feb 2, 2019
509b48a
[LCSSA] Add expensive verification of LCSSA form for sub-loops.
fhahn Feb 2, 2019
ffe93a1
[analyzer][UninitializedObjectChecker] New flag to ignore guarded uni…
Szelethus Feb 2, 2019
dd2ef0a
[LCSSA] Handle case with single new PHI faster.
fhahn Feb 2, 2019
bd42f97
[SDAG] Add SDNode/SDValue getConstantOperandAPInt helper. NFCI.
RKSimon Feb 2, 2019
dbf302c
[X86][AVX] Enable INSERT_SUBVECTOR(SRC0, SHUFFLE(SRC1)) shuffle combi…
RKSimon Feb 2, 2019
e546b53
[clang-tidy] Rename time lookup functions; NFC
Feb 2, 2019
368c02e
[libunwind] Remove the remote unwinding support
petrhosek Feb 2, 2019
5745e90
[libunwind] Provide placement new definition
petrhosek Feb 2, 2019
cf07b09
[X86] Add another test case for PR40539. NFC
topperc Feb 2, 2019
b08a2d4
[clang-tidy] Make google-objc-function-naming ignore implicit functio…
stephanemoore Feb 2, 2019
0033112
Revert rCTE352968 due to compilation failures 💥
stephanemoore Feb 2, 2019
508da41
Move the feature test macros script to the utils directory.
EricWF Feb 2, 2019
c16cc77
Replace uses of %T with %t in from previous frontend test differential
nico Feb 2, 2019
e3f105c
[NewPM] Add support for new-PM plugins to clang
pfaffe Feb 2, 2019
cbaada6
GlobalISel: Legalization for inttoptr/ptrtoint
arsenm Feb 2, 2019
2491f82
AMDGPU/GlobalISel: Legalize select for pointer types
arsenm Feb 2, 2019
2065c94
AMDGPU/GlobalISel: Legalize constant for pointer types
arsenm Feb 2, 2019
58f9d3d
AMDGPU/GlobalISel: Legalize icmp for pointer types
arsenm Feb 2, 2019
eb2603c
AMDGPU/GlobalISel: Avoid reporting illegal extloads as legal
arsenm Feb 2, 2019
0e5d856
GlobalISel: Implement widenScalar for G_EXTRACT vector sources
arsenm Feb 2, 2019
888aa5d
GlobalISel: Implement widenScalar for G_UNMERGE_VALUES
arsenm Feb 3, 2019
24a2a48
Fix handling of usual deallocation functions in various configuratios.
EricWF Feb 3, 2019
aaa709f
[InstSimplify] Missed optimization in math expression: log10(pow(10.0…
Quolyk Feb 3, 2019
b21ed3c
[AMDGPU] Fix -Wunused-variable after rL352978
MaskRay Feb 3, 2019
365e164
Correct test my *really really* overaligning a type.
EricWF Feb 3, 2019
950ca19
[X86] Lower ISD::UADDO to use the Z flag instead of C flag when the R…
topperc Feb 3, 2019
5a570dd
[X86] Print %st(0) as %st to match what gcc inline asm uses as the cl…
topperc Feb 3, 2019
9438585
[DA][NewPM] Handle transitive dependencies in the new-pm version of DA
pfaffe Feb 3, 2019
359a973
[PowerPC] add tests for saturating add; NFC
rotateright Feb 3, 2019
00fcc74
[CGP] refactor optimizeCmpExpression (NFCI)
rotateright Feb 3, 2019
c493301
[AST] Extract ASTNodeTraverser class from ASTDumper
steveire Feb 3, 2019
e9a136b
Remove trailing semicolon. NFCI.
RKSimon Feb 3, 2019
22f538c
Remove trailing semicolon. NFCI.
RKSimon Feb 3, 2019
b961bd6
[CGP] move test file to prevent bot failures
rotateright Feb 3, 2019
3d6ecfc
[x86] add CGP uaddo test with weird type; NFC
rotateright Feb 3, 2019
a2a3e5b
[X86][AVX] More aggressively simplify BROADCAST source operand
RKSimon Feb 3, 2019
ccc4286
[objc-gnustep] Fix encoding of ivar size for _Bool.
Feb 3, 2019
4a0a64a
Hot fix two test regressions (%T vs %t)
davezarzycki Feb 3, 2019
18b73a6
[X86][AVX] Support shuffle combining for VPMOVZX with smaller vector …
RKSimon Feb 3, 2019
837552f
[PatternMatch] add special-case uaddo matching for increment-by-one (…
rotateright Feb 3, 2019
1fce5a8
[X86][AVX] Support shuffle combining for VBROADCAST with smaller vect…
RKSimon Feb 3, 2019
e2469b1
[libFuzzer][Windows] Reenable passing tests
jonathanmetzman Feb 3, 2019
84ceae6
[CGP] adjust target constraints for forming uaddo
rotateright Feb 3, 2019
f1314b6
[PowerPC] adjust test for uaddo change in rL353001
rotateright Feb 3, 2019
64bebe9
[ASTDump] Add a flag indicating whether a CXXThisExpr is implicit
riccibruno Feb 3, 2019
135413d
[NFC] Make vector types legal in UREM test
RKSimon Feb 3, 2019
e64aee8
[AST] Update the comments of the various Expr::Ignore* + Related clea…
riccibruno Feb 3, 2019
73929c4
[LoopIdiomRecognize] @llvm.dbg values shouldn't affect the transforma…
dcci Feb 3, 2019
1002ab3
[docs] Recommend assertions when testing.
dcci Feb 3, 2019
8799cae
[opaque pointer types] Trivial changes towards CallInst requiring
jyknight Feb 3, 2019
6ccad0a
Provide a placement new definition for the SEH version of UnwindCursor
mstorsjo Feb 3, 2019
b33b410
Compute the correct symbol size in llvm-nm even without --print-size
Feb 3, 2019
764727d
tests: loosen restriction
compnerd Feb 4, 2019
f77b858
Revert r352985 "[X86] Print %st(0) as %st to match what gcc inline as…
topperc Feb 4, 2019
145ccb0
[X86] Regenerate test to drop 'End function' comments some other othe…
topperc Feb 4, 2019
7a2944e
[X86] Print %st(0) as %st when its implicit to the instruction. Conti…
topperc Feb 4, 2019
b5e945c
Recommit r352660 "[X86] Mark EMMS and FEMMS as clobbering MM0-7 and S…
topperc Feb 4, 2019
437ee05
[SCEV] Do not bother creating separate SCEVUnknown for unreachable nodes
Feb 4, 2019
31df1ad
[OpenMP] Adding support to the mutexinoutset dep-type
smateo Feb 4, 2019
21193f4
[llvm-exegesis] Don't default to running&dumping all analyses to '-'
LebedevRI Feb 4, 2019
dc78bc2
[llvm-exegesis] deserializeMCInst(): bump SmallVector small size up t…
LebedevRI Feb 4, 2019
1a0d595
[llvm-exegesis] Throughput support in analysis mode
LebedevRI Feb 4, 2019
5b94fe9
[llvm-exegesis] Cut run time of analysis mode by -84% (*sic*) (YamlCo…
LebedevRI Feb 4, 2019
bd84b13
[llvm-exegesis] Cut run time of analysis mode by another -35% (*sic*)…
LebedevRI Feb 4, 2019
a1b0596
[clangd] Update vscode dependencies
hokein Feb 4, 2019
8e933c1
[clangd] Bump vscode-clangd v0.0.10
hokein Feb 4, 2019
1bb0e5c
[SelectionDAG] Add a BaseIndexOffset::print() method for debugging.
legrosbuffle Feb 4, 2019
9e012e8
[clang] Add getCommentHandler to PreambleCallbacks
kadircet Feb 4, 2019
65970aa
[NFC] Replace equivalent condition for better readability
Feb 4, 2019
20bef45
[clang-format] Fix breaking of qualified operator
krasimirgg Feb 4, 2019
13ab5cb
[NFC] Remove redundant parameters for better readability
Feb 4, 2019
be16b80
[llvm-objcopy][NFC] Fix trailing semicolon warning.
legrosbuffle Feb 4, 2019
09802f4
[NFC] Rename variables to reflect the actual status of GuardWidening
Feb 4, 2019
3643cbb
Commit tests for changes in revision D41608
Quolyk Feb 4, 2019
56b57e3
[NFC] Make a check in GuardWidening more obvious
Feb 4, 2019
d6c2d16
Merge remote-tracking branch 'origin/master' into intel.
vladimirlaz Feb 4, 2019
79d5bc9
Merge branch 'intel' into sycl
vladimirlaz Feb 5, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .arcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"repository.callsign" : "G",
"conduit_uri" : "https://reviews.llvm.org/"
}
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BasedOnStyle: LLVM
17 changes: 17 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,readability-identifier-naming'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: CamelCase
- key: readability-identifier-naming.ParameterCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
value: CamelCase

18 changes: 15 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
# Contributing

## License
Intel Project for LLVM* technology is dual-licensed under the terms of the 2 licenses in [LICENSE](https://github.com/intel/llvm/blob/intel/llvm/LICENSE.TXT) and [LICENSE2](https://github.com/intel/llvm/blob/intel/llvm/LICENSE2.TXT). We are dual-licensing this technology because, while the LLVM project is currently provided under the NCSA license, LLVM intends to change to Apache-2.0 With LLVM-exception. We want to ensure our ability to contribute this project to the LLVM project under either of these licenses.
By contributing to this project, you agree to the licenses and copyright terms therein and release your contribution under these terms.
Intel Project for LLVM* technology is licensed under the terms of the
Apache-2.0 with LLVM-exception license (
[LICENSE.txt](https://github.com/intel/llvm/blob/intel/llvm/LICENSE.TXT))
to ensure our ability to contribute this project to the LLVM project
under the same license.

By contributing to this project, you agree to the Apache-2.0 with
LLVM-exception license and copyright terms there in and release your
contribution under these terms.

## Sign your work
Please use the sign-off line at the end of your contribution. Your signature certifies that you wrote the contribution or otherwise have the right to pass it on as an open-source contribution, and that you agree to provide your contribution under the terms of the licenses noted above. The rules are pretty simple: if you can certify the below (from [developercertificate.org](http://developercertificate.org)):
Please use the sign-off line at the end of your contribution. Your
signature certifies that you wrote the contribution or otherwise have
the right to pass it on as an open-source contribution, and that you
agree to provide your contribution under the terms of the licenses
noted above. The rules are pretty simple: if you can certify the
below (from [developercertificate.org](http://developercertificate.org)):

```
Developer Certificate of Origin
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Home for Intel LLVM-based projects:
- SYCL* Compiler and Runtimes - compiler and runtime libraries for SYCL ([https://www.khronos.org/sycl/](https://www.khronos.org/sycl/)). See **sycl** branch.

## License
See [LICENSE.txt](https://github.com/intel/llvm/blob/intel/llvm/LICENSE.TXT) and [LICENSE2.txt](https://github.com/intel/llvm/blob/intel/llvm/LICENSE2.TXT) for details.
See [LICENSE.txt](https://github.com/intel/llvm/blob/intel/llvm/LICENSE.TXT) for details.


## Contributing
Expand Down
5 changes: 5 additions & 0 deletions clang-tools-extra/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
option(CLANGD_BUILD_XPC "Build XPC Support For Clangd." OFF)
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(CLANGD_BUILD_XPC ON CACHE BOOL "" FORCE)
endif ()

add_subdirectory(clang-apply-replacements)
add_subdirectory(clang-reorder-fields)
add_subdirectory(modularize)
Expand Down
259 changes: 237 additions & 22 deletions clang-tools-extra/LICENSE.TXT
Original file line number Diff line number Diff line change
@@ -1,10 +1,245 @@
==============================================================================
LLVM Release License
The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
==============================================================================

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


---- LLVM Exceptions to the Apache 2.0 License ----

As an exception, if, as a result of your compiling your source code, portions
of this Software are embedded into an Object form of such source code, you
may redistribute such embedded portions in such Object form without complying
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.

In addition, if you combine or link compiled forms of this Software with
software that is licensed under the GPLv2 ("Combined Software") and if a
court of competent jurisdiction determines that the patent provision (Section
3), the indemnity provision (Section 9) or other Section of the License
conflicts with the conditions of the GPLv2, you may retroactively and
prospectively choose to deem waived or otherwise exclude such Section(s) of
the License, but only in their entirety and only with respect to the Combined
Software.

==============================================================================
Software from third parties included in the LLVM Project:
==============================================================================
The LLVM Project contains third party software which is under different license
terms. All such code will be identified clearly using at least one of two
mechanisms:
1) It will be in a separate directory tree with its own `LICENSE.txt` or
`LICENSE` file at the top containing the specific license and restrictions
which apply to that software, or
2) It will contain specific license and restriction terms at the top of every
file.

==============================================================================
Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
==============================================================================
University of Illinois/NCSA
Open Source License

Copyright (c) 2007-2018 University of Illinois at Urbana-Champaign.
Copyright (c) 2007-2019 University of Illinois at Urbana-Champaign.
All rights reserved.

Developed by:
Expand Down Expand Up @@ -41,23 +276,3 @@ CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
SOFTWARE.

==============================================================================
The LLVM software contains code written by third parties. Such software will
have its own individual LICENSE.TXT file in the directory in which it appears.
This file will describe the copyrights, license, and restrictions which apply
to that code.

The disclaimer of warranty in the University of Illinois Open Source License
applies to all code in the LLVM Distribution, and nothing in any of the
other licenses gives permission to use the names of the LLVM Team or the
University of Illinois to endorse or promote products derived from this
Software.

The following pieces of software have additional or alternate copyrights,
licenses, and/or restrictions:

Program Directory
------- ---------
clang-tidy clang-tidy/cert
clang-tidy clang-tidy/hicpp
7 changes: 3 additions & 4 deletions clang-tools-extra/change-namespace/ChangeNamespace.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
//===-- ChangeNamespace.cpp - Change namespace implementation -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "ChangeNamespace.h"
Expand Down
7 changes: 3 additions & 4 deletions clang-tools-extra/change-namespace/ChangeNamespace.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
//===-- ChangeNamespace.h -- Change namespace ------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

Expand Down
Loading