diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
commit | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (patch) | |
tree | 64175d5cadab313b3e7039ebaa06c5bc3295e274 /contrib/libs/llvm12/include/llvm/Analysis/ConstantFolding.h | |
parent | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (diff) | |
download | ydb-e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/llvm12/include/llvm/Analysis/ConstantFolding.h')
-rw-r--r-- | contrib/libs/llvm12/include/llvm/Analysis/ConstantFolding.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libs/llvm12/include/llvm/Analysis/ConstantFolding.h b/contrib/libs/llvm12/include/llvm/Analysis/ConstantFolding.h index d2e598ab9a..aecf333a1d 100644 --- a/contrib/libs/llvm12/include/llvm/Analysis/ConstantFolding.h +++ b/contrib/libs/llvm12/include/llvm/Analysis/ConstantFolding.h @@ -32,7 +32,7 @@ template <typename T> class ArrayRef; class CallBase; class Constant; class ConstantExpr; -class DSOLocalEquivalent; +class DSOLocalEquivalent; class DataLayout; class Function; class GlobalValue; @@ -42,11 +42,11 @@ class Type; /// If this constant is a constant offset from a global, return the global and /// the constant. Because of constantexprs, this function is recursive. -/// If the global is part of a dso_local_equivalent constant, return it through -/// `Equiv` if it is provided. +/// If the global is part of a dso_local_equivalent constant, return it through +/// `Equiv` if it is provided. bool IsConstantOffsetFromGlobal(Constant *C, GlobalValue *&GV, APInt &Offset, - const DataLayout &DL, - DSOLocalEquivalent **DSOEquiv = nullptr); + const DataLayout &DL, + DSOLocalEquivalent **DSOEquiv = nullptr); /// ConstantFoldInstruction - Try to constant fold the specified instruction. /// If successful, the constant result is returned, if not, null is returned. |