diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-16 20:53:14 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-16 20:53:14 +0300 |
commit | 6a43bb89fc97bb0f5d9e088b3fffeae13ad13c7c (patch) | |
tree | 01efd7eb1028bcab1d76e42b05c8683fac77824e /contrib/libs/llvm12/lib | |
parent | 8468858a796013ec5547c9292c0a80a5a9172804 (diff) | |
download | ydb-6a43bb89fc97bb0f5d9e088b3fffeae13ad13c7c.tar.gz |
intermediate changes
ref:2730bc9a6f334dad4a18710c89cfa6a8946c419b
Diffstat (limited to 'contrib/libs/llvm12/lib')
10 files changed, 0 insertions, 155 deletions
diff --git a/contrib/libs/llvm12/lib/Analysis/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/Analysis/.yandex_meta/licenses.list.txt index 1da7eb6ff9b..ad3879fc450 100644 --- a/contrib/libs/llvm12/lib/Analysis/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/Analysis/.yandex_meta/licenses.list.txt @@ -7,49 +7,6 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -====================COPYRIGHT==================== - // into sext(%x) + sext(c). We'll sext the Offset ourselves: - unsigned OldWidth = Offset.getBitWidth(); - Offset = Offset.trunc(SmallWidth).sext(NewWidth).zextOrSelf(OldWidth); - - -====================COPYRIGHT==================== - // sext(%x) + sext(c) - Scale = 1; - Offset = 0; - - -====================COPYRIGHT==================== - // |X| < |C| --> X > -abs(C) and X < abs(C) - Constant *PosDivisorC = ConstantInt::get(Ty, C->abs()); - Constant *NegDivisorC = ConstantInt::get(Ty, -C->abs()); - - -====================COPYRIGHT==================== - // {(a)->(b), (b)->(c), (c)->(d), ...} and the worklist is initially {b, a}, - // then after merging (a) and (b) together, we need to put (a,b) back in - // the worklist so that (c) can get merged in as well resulting in - // {(a,b,c) -> d} - // We also need to remove the old target (b), from the worklist. We first - - -====================COPYRIGHT==================== - if (match(BO.getOperand(0), m_APInt(C))) { - if (IIQ.hasNoUnsignedWrap(&BO)) { - // 'shl nuw C, x' produces [C, C << CLZ(C)] - Lower = *C; - Upper = Lower.shl(Lower.countLeadingZeros()) + 1; - - -====================COPYRIGHT==================== - if (match(X, m_APInt(C)) && !C->isMinSignedValue()) { - // Is the variable divisor magnitude always greater than the constant - // dividend magnitude? - // |Y| > |C| --> Y < -abs(C) or Y > abs(C) - Constant *PosDividendC = ConstantInt::get(Ty, C->abs()); - Constant *NegDividendC = ConstantInt::get(Ty, -C->abs()); - - ====================File: LICENSE.TXT==================== ============================================================================== The LLVM Project is under the Apache License v2.0 with LLVM Exceptions: diff --git a/contrib/libs/llvm12/lib/CodeGen/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/CodeGen/.yandex_meta/licenses.list.txt index a55f77852a7..36adcc85d19 100644 --- a/contrib/libs/llvm12/lib/CodeGen/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/CodeGen/.yandex_meta/licenses.list.txt @@ -16,18 +16,6 @@ /// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -====================COPYRIGHT==================== - // Fix (C). - if (Restore && (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { - if (MLI->getLoopDepth(Save) > MLI->getLoopDepth(Restore)) { - - -====================COPYRIGHT==================== - IntegerType *WordType = DL.getIntPtrType(C); - PointerType *InitPtrType = InitValue ? - PointerType::getUnqual(InitValue->getType()) : VoidPtrType; - - ====================File: LICENSE.TXT==================== ============================================================================== The LLVM Project is under the Apache License v2.0 with LLVM Exceptions: diff --git a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/.yandex_meta/licenses.list.txt index c106a10d3f3..c62d353021c 100644 --- a/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/CodeGen/SelectionDAG/.yandex_meta/licenses.list.txt @@ -5,8 +5,3 @@ ====================Apache-2.0 WITH LLVM-exception==================== // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - - -====================COPYRIGHT==================== - Type *Ty = MemOps[0].getTypeForEVT(C); - Align NewAlign = DL.getABITypeAlign(Ty); diff --git a/contrib/libs/llvm12/lib/DebugInfo/DWARF/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/DebugInfo/DWARF/.yandex_meta/licenses.list.txt index 722dfab6030..c62d353021c 100644 --- a/contrib/libs/llvm12/lib/DebugInfo/DWARF/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/DebugInfo/DWARF/.yandex_meta/licenses.list.txt @@ -5,49 +5,3 @@ ====================Apache-2.0 WITH LLVM-exception==================== // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - - -====================COPYRIGHT==================== - uint64_t BlockLength = Data.getULEB128(C); - StringRef Expression = Data.getBytes(C, BlockLength); - DataExtractor Extractor(Expression, Data.isLittleEndian(), - - -====================COPYRIGHT==================== - : DebugLineData(Data), Context(C) { - LineToUnit = buildLineToUnitMap(Units); - if (!DebugLineData.isValidOffset(Offset)) - - -====================COPYRIGHT==================== - Value0 = Data.getULEB128(C); - Value1 = Data.getULEB128(C); - break; - case dwarf::DW_RLE_startx_length: { - Value0 = Data.getULEB128(C); - Value1 = Data.getULEB128(C); - break; - - -====================COPYRIGHT==================== - Version = AS.getU16(C); - AS.skip(C, 2); // padding - CompUnitCount = AS.getU32(C); - LocalTypeUnitCount = AS.getU32(C); - ForeignTypeUnitCount = AS.getU32(C); - BucketCount = AS.getU32(C); - NameCount = AS.getU32(C); - AbbrevTableSize = AS.getU32(C); - AugmentationStringSize = alignTo(AS.getU32(C), 4); - - -====================COPYRIGHT==================== - if (C) - Desc = StrOffsetsContributionDescriptor(C->Offset, C->Length, 4, - Header.getFormat()); - - -====================COPYRIGHT==================== - if (C) - Offset = C->Offset; - if (getVersion() >= 5) { diff --git a/contrib/libs/llvm12/lib/IR/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/IR/.yandex_meta/licenses.list.txt index dde681e762d..c62d353021c 100644 --- a/contrib/libs/llvm12/lib/IR/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/IR/.yandex_meta/licenses.list.txt @@ -5,15 +5,3 @@ ====================Apache-2.0 WITH LLVM-exception==================== // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - - -====================COPYRIGHT==================== - Type *I32Ty = Type::getInt32Ty(C); - Value *Elt0 = Builder.CreateExtractElement(CI->getArgOperand(0), - ConstantInt::get(I32Ty, 0)); - - -====================COPYRIGHT==================== - LLVMContext &Context = *unwrap(C); - SmallVector<Metadata *, 8> MDs; - for (auto *OV : makeArrayRef(Vals, Count)) { diff --git a/contrib/libs/llvm12/lib/Support/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/Support/.yandex_meta/licenses.list.txt index c854c46cf12..02b6dcc8d5f 100644 --- a/contrib/libs/llvm12/lib/Support/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/Support/.yandex_meta/licenses.list.txt @@ -72,14 +72,6 @@ ====================COPYRIGHT==================== - : Code(C) { - ErrMsg = "Stream Error: "; - switch (C) { - case stream_error_code::unspecified: - ErrMsg += "An unspecified error has occurred."; - - -====================COPYRIGHT==================== Copyright (C) 2012-2016, Yann Collet. diff --git a/contrib/libs/llvm12/lib/Target/X86/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/Target/X86/.yandex_meta/licenses.list.txt index f08f43f1d80..ad3879fc450 100644 --- a/contrib/libs/llvm12/lib/Target/X86/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/Target/X86/.yandex_meta/licenses.list.txt @@ -7,12 +7,6 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -====================COPYRIGHT==================== - Trampoline->setComdat(C); - BasicBlock *EntryBB = BasicBlock::Create(Context, "entry", Trampoline); - IRBuilder<> Builder(EntryBB); - - ====================File: LICENSE.TXT==================== ============================================================================== The LLVM Project is under the Apache License v2.0 with LLVM Exceptions: diff --git a/contrib/libs/llvm12/lib/Transforms/InstCombine/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/Transforms/InstCombine/.yandex_meta/licenses.list.txt index 8045fd2cd1a..c62d353021c 100644 --- a/contrib/libs/llvm12/lib/Transforms/InstCombine/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/Transforms/InstCombine/.yandex_meta/licenses.list.txt @@ -5,15 +5,3 @@ ====================Apache-2.0 WITH LLVM-exception==================== // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - - -====================COPYRIGHT==================== - // The instruction has the form "(A op' B) op (C)". Try to factorize common - // term. - if (Op0) - - -====================COPYRIGHT==================== - Value *NotC = Builder.CreateNot(C); - Value *RHS = Builder.CreateAnd(B, NotC); - return BinaryOperator::CreateOr(LHS, RHS); diff --git a/contrib/libs/llvm12/lib/Transforms/Instrumentation/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/Transforms/Instrumentation/.yandex_meta/licenses.list.txt index 9e25064ed6a..ad3879fc450 100644 --- a/contrib/libs/llvm12/lib/Transforms/Instrumentation/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/Transforms/Instrumentation/.yandex_meta/licenses.list.txt @@ -7,11 +7,6 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -====================COPYRIGHT==================== - Value *Sc = getShadow(C); - Value *Sd = getShadow(D); - - ====================File: LICENSE.TXT==================== ============================================================================== The LLVM Project is under the Apache License v2.0 with LLVM Exceptions: diff --git a/contrib/libs/llvm12/lib/Transforms/Utils/.yandex_meta/licenses.list.txt b/contrib/libs/llvm12/lib/Transforms/Utils/.yandex_meta/licenses.list.txt index a87e3b68b94..c62d353021c 100644 --- a/contrib/libs/llvm12/lib/Transforms/Utils/.yandex_meta/licenses.list.txt +++ b/contrib/libs/llvm12/lib/Transforms/Utils/.yandex_meta/licenses.list.txt @@ -5,9 +5,3 @@ ====================Apache-2.0 WITH LLVM-exception==================== // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - - -====================COPYRIGHT==================== -// if (c) if (c) -// X1 = ... X1 = ... -// else else |