LLVM  14.0.0git
Functions | Variables
lib/Testing/Support/CMakeLists.txt File Reference

Functions

 include (GetLibraryName) check_cxx_compiler_flag("-Werror
 
int main ()
 
LLVM_HAS_NOGLOBAL_CTOR_MUTEX if (NOT LLVM_HAS_NOGLOBAL_CTOR_MUTEX) string(REPLACE "-Werror
 
LLVM_HAS_NOGLOBAL_CTOR_MUTEX snmalloc and mimalloc are supported endif () if(LLVM_INTEGRATED_CRT_ALLOC MATCHES "rpmalloc$") add_definitions(-DENABLE_OVERRIDE -DENABLE_PRELOAD) set(ALLOCATOR_FILES "$
 
rpmalloc rpmalloc c elseif (LLVM_INTEGRATED_CRT_ALLOC MATCHES "snmalloc$") set(ALLOCATOR_FILES "$
 
 add_llvm_library (LLVMTestingSupport Annotations.cpp Error.cpp SupportHelpers.cpp BUILDTREE_ONLY ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support LINK_COMPONENTS Support) target_link_libraries(LLVMTestingSupport PRIVATE gtest) if(HOST_WINNT AND "$
 

Variables

static std::recursive_mutex TestGlobalCtorDtor2
 
LLVM_HAS_NOGLOBAL_CTOR_MUTEX rpmalloc
 
src override malloc cc
 

Function Documentation

◆ add_llvm_library()

add_llvm_library ( LLVMTestingSupport Annotations.cpp Error.cpp SupportHelpers.cpp BUILDTREE_ONLY ADDITIONAL_HEADER_DIRS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support LINK_COMPONENTS  Support)

Definition at line 1 of file CMakeLists.txt.

◆ elseif()

rpmalloc rpmalloc c elseif ( LLVM_INTEGRATED_CRT_ALLOC MATCHES "snmalloc$"  )

Definition at line 92 of file CMakeLists.txt.

◆ endif()

LLVM_HAS_NOGLOBAL_CTOR_MUTEX snmalloc and mimalloc are supported endif ( )

Definition at line 87 of file CMakeLists.txt.

◆ if()

LLVM_HAS_NOGLOBAL_CTOR_MUTEX if ( NOT  LLVM_HAS_NOGLOBAL_CTOR_MUTEX)

◆ include()

include ( GetLibraryName  )

◆ main()

int main ( )

Definition at line 17 of file CMakeLists.txt.

Variable Documentation

◆ cc

src override malloc cc
Initial value:
{LLVM_INTEGRATED_CRT_ALLOC}/src/override/new.cc")
set(system_libs ${system_libs} "mincore.lib" "-INCLUDE:malloc")
elseif(LLVM_INTEGRATED_CRT_ALLOC MATCHES "mimalloc$")
set(MIMALLOC_LIB "${LLVM_INTEGRATED_CRT_ALLOC}/out/msvc-x64/Release/mimalloc-static.lib")
if(NOT EXISTS "${MIMALLOC_LIB}")
message(FATAL_ERROR "Cannot find the mimalloc static library. To build it

Definition at line 93 of file CMakeLists.txt.

Referenced by BadConditionCode(), DecodeTRAP(), llvm::AMDGPU::isCompute(), llvm::AMDGPU::isGraphics(), llvm::AMDGPU::isShader(), and PrintCallingConv().

◆ rpmalloc

LLVM_HAS_NOGLOBAL_CTOR_MUTEX rpmalloc

Definition at line 86 of file CMakeLists.txt.

◆ TestGlobalCtorDtor2

std::recursive_mutex TestGlobalCtorDtor2
static

Definition at line 16 of file CMakeLists.txt.

it
into xmm2 addss xmm2 xmm1 xmm3 addss xmm3 movaps xmm0 unpcklps xmm0 ret seems silly when it could just be one addps Expand libm rounding functions main should enable SSE DAZ mode and other fast SSE modes Think about doing i64 math in SSE regs on x86 This testcase should have no SSE instructions in it
Definition: README-SSE.txt:81
llvm::find
auto find(R &&Range, const T &Val)
Provide wrappers to std::find which take ranges instead of having to pass begin/end explicitly.
Definition: STLExtras.h:1571
library
Itanium Name Demangler i e convert the string _Z1fv into but neither can depend on each other libcxxabi needs the demangler to implement which is part of the itanium ABI spec LLVM needs a copy for a bunch of but doesn t want to use the system s __cxa_demangle because it a might not be and b probably isn t that up to date on the latest language features The copy of the demangler in LLVM has some extra stuff that aren t needed in which depend on the shared generic components Despite these we want to keep the core generic demangling library identical between both copies to simplify development and testing If you re working on the generic library
Definition: README.txt:30
llvm::InliningAdvisorMode::Release
@ Release
llvm::irsymtab::build
Error build(ArrayRef< Module * > Mods, SmallVector< char, 0 > &Symtab, StringTableBuilder &StrtabBuilder, BumpPtrAllocator &Alloc)
Fills in Symtab and StrtabBuilder with a valid symbol and string table for Mods.
Definition: IRSymtab.cpp:356