mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
6230d2a2a4
The `assume` attribute is a way to provide additional, arbitrary information to the optimizer. For now, assumptions are restricted to strings which will be accumulated for a function and emitted as comma separated string function attribute. The key of the LLVM-IR function attribute is `llvm.assume`. Similar to `llvm.assume` and `__builtin_assume`, the `assume` attribute provides a user defined assumption to the compiler. A follow up patch will introduce an LLVM-core API to query the assumptions attached to a function. We also expect to add more options, e.g., expression arguments, to the `assume` attribute later on. The `omp [begin] asssumes` pragma will leverage this attribute and expose the functionality in the absence of OpenMP. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D91979
75 lines
1.2 KiB
CMake
75 lines
1.2 KiB
CMake
add_llvm_component_library(LLVMCore
|
|
AbstractCallSite.cpp
|
|
AsmWriter.cpp
|
|
Assumptions.cpp
|
|
Attributes.cpp
|
|
AutoUpgrade.cpp
|
|
BasicBlock.cpp
|
|
Comdat.cpp
|
|
ConstantFold.cpp
|
|
ConstantRange.cpp
|
|
Constants.cpp
|
|
Core.cpp
|
|
DIBuilder.cpp
|
|
DataLayout.cpp
|
|
DebugInfo.cpp
|
|
DebugInfoMetadata.cpp
|
|
DebugLoc.cpp
|
|
DiagnosticHandler.cpp
|
|
DiagnosticInfo.cpp
|
|
DiagnosticPrinter.cpp
|
|
Dominators.cpp
|
|
FPEnv.cpp
|
|
Function.cpp
|
|
GVMaterializer.cpp
|
|
Globals.cpp
|
|
IRBuilder.cpp
|
|
IRPrintingPasses.cpp
|
|
InlineAsm.cpp
|
|
Instruction.cpp
|
|
Instructions.cpp
|
|
IntrinsicInst.cpp
|
|
LLVMContext.cpp
|
|
LLVMContextImpl.cpp
|
|
LLVMRemarkStreamer.cpp
|
|
LegacyPassManager.cpp
|
|
MDBuilder.cpp
|
|
Mangler.cpp
|
|
Metadata.cpp
|
|
Module.cpp
|
|
ModuleSummaryIndex.cpp
|
|
Operator.cpp
|
|
OptBisect.cpp
|
|
Pass.cpp
|
|
PassInstrumentation.cpp
|
|
PassManager.cpp
|
|
PassRegistry.cpp
|
|
PassTimingInfo.cpp
|
|
PrintPasses.cpp
|
|
SafepointIRVerifier.cpp
|
|
ProfileSummary.cpp
|
|
Statepoint.cpp
|
|
StructuralHash.cpp
|
|
Type.cpp
|
|
TypeFinder.cpp
|
|
Use.cpp
|
|
User.cpp
|
|
Value.cpp
|
|
ValueSymbolTable.cpp
|
|
Verifier.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/IR
|
|
|
|
LINK_LIBS
|
|
${LLVM_PTHREAD_LIB}
|
|
|
|
DEPENDS
|
|
intrinsics_gen
|
|
|
|
LINK_COMPONENTS
|
|
BinaryFormat
|
|
Remarks
|
|
Support
|
|
)
|