Changes

Summary

  1. [profile] Move RuntimeCounterRelocation and ProfileDumped into a separate file (details)
  2. [gn build] Port ba1f4405c68 (details)
  3. [MLIR][NFC] std::is_same || -> llvm::is_one_of (details)
  4. [libc] Generate math.h instead of the static file it is currently. (details)
Commit ba1f4405c6828308649b994ecb2d056fabc80a8c by phosek
[profile] Move RuntimeCounterRelocation and ProfileDumped into a separate file

This avoids the test failure that was introduced in rG32bddad where
this function pulls in the rest of InstrProfilingFile.c which is
undesirable in use cases when profile runtime is being used without
the rest of libc.

This also allows additional cleanup by eliminating another variable
from platforms that don't need it.

Differential Revision: https://reviews.llvm.org/D76750
The file was modifiedcompiler-rt/lib/profile/CMakeLists.txt
The file was modifiedcompiler-rt/lib/profile/InstrProfilingInternal.h
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.c
The file was modifiedcompiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
The file was addedcompiler-rt/lib/profile/InstrProfilingInternal.c
Commit c2273883e23a3278b5da562ba5827462afef2ae3 by llvmgnsyncbot
[gn build] Port ba1f4405c68
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/profile/BUILD.gn
Commit 8786cdb3cdfbe5f7a823a122431e1bea675c81f4 by uday
[MLIR][NFC] std::is_same || -> llvm::is_one_of

Switch std::is_same disjunctions to llvm::is_one_of

Differential Revision: https://reviews.llvm.org/D76745
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
The file was modifiedmlir/lib/Analysis/Utils.cpp
The file was modifiedmlir/lib/Analysis/LoopAnalysis.cpp
Commit 2c080a3f23e49edddb0799a569d7d3319fc91d86 by sivachandra
[libc] Generate math.h instead of the static file it is currently.

Just enough to help a follow up patch adding cosf and sinf has been
added.

Reviewers: abrachet

Differential Revision: https://reviews.llvm.org/D76723
The file was modifiedlibc/include/CMakeLists.txt
The file was modifiedlibc/spec/stdc.td
The file was removedlibc/include/math.h
The file was addedlibc/include/math.h.def
The file was modifiedlibc/config/linux/api.td