LLVM 20.0.0git
Functions | Variables
TargetRegistry.cpp File Reference
#include "llvm/MC/TargetRegistry.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCObjectStreamer.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <vector>

Go to the source code of this file.

Functions

static int TargetArraySortFn (const std::pair< StringRef, const Target * > *LHS, const std::pair< StringRef, const Target * > *RHS)
 

Variables

static TargetFirstTarget = nullptr
 

Function Documentation

◆ TargetArraySortFn()

static int TargetArraySortFn ( const std::pair< StringRef, const Target * > *  LHS,
const std::pair< StringRef, const Target * > *  RHS 
)
static

Definition at line 204 of file TargetRegistry.cpp.

References LHS, and RHS.

Referenced by llvm::TargetRegistry::printRegisteredTargetsForVersion().

Variable Documentation

◆ FirstTarget

Target* FirstTarget = nullptr
static