LLVM: include/llvm/IR/Mangler.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_IR_MANGLER_H

14#define LLVM_IR_MANGLER_H

15

19

20namespace llvm {

21

28

29

30

31

32

33

34

35

39

41

42

44

45public:

46

47

48

50 bool CannotUsePrivateLabel) const;

53 bool CannotUsePrivateLabel) const;

54

55

56

60 const Twine &GVName,

62};

63

67

70

71

72

73LLVM_ABI std::optionalstd::string

75

76

77

78LLVM_ABI std::optionalstd::string

80

81

83 return Name[0] == '#' || (Name[0] == '?' && Name.contains("@$$h"));

84}

85

86}

87

88#endif

MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL

This file defines the DenseMap class.

A parsed version of the target data layout string in and methods for querying it.

LLVM_ABI void getNameWithPrefix(raw_ostream &OS, const GlobalValue *GV, bool CannotUsePrivateLabel) const

Print the appropriate prefix and the specified global variable's name.

This class consists of common code factored out of the SmallVector class to reduce code duplication b...

StringRef - Represent a constant reference to a string, i.e.

Triple - Helper class for working with autoconf configuration names.

Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...

This class implements an extremely fast bulk output stream that can only output to a stream.

This is an optimization pass for GlobalISel generic memory operations.

LLVM_ABI std::optional< std::string > getArm64ECMangledFunctionName(StringRef Name)

Returns the ARM64EC mangled function name unless the input is already mangled.

constexpr char HybridPatchableTargetSuffixArr[]

Definition Mangler.h:36

bool isArm64ECMangledFunctionName(StringRef Name)

Check if an ARM64EC function name is mangled.

Definition Mangler.h:82

LLVM_ABI std::optional< std::string > getArm64ECDemangledFunctionName(StringRef Name)

Returns the ARM64EC demangled function name, unless the input is not mangled.

LLVM_ABI void emitLinkerFlagsForUsedCOFF(raw_ostream &OS, const GlobalValue *GV, const Triple &T, Mangler &M)

constexpr std::string_view HybridPatchableTargetSuffix

Definition Mangler.h:37

LLVM_ABI void emitLinkerFlagsForGlobalCOFF(raw_ostream &OS, const GlobalValue *GV, const Triple &TT, Mangler &Mangler)