LLVM: lib/Frontend/Driver/CodeGenOptions.cpp Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

14

15namespace llvm {

18}

19

21

25

27 switch (Veclib) {

30 TargetTriple);

31 break;

34 TargetTriple);

35 break;

38 TargetTriple);

39 break;

42 TargetTriple);

43 break;

46 TargetTriple);

47 break;

51 break;

54 TargetTriple);

55 break;

58 TargetTriple);

59 break;

60 default:

61 break;

62 }

63 return TLII;

64}

65

68 ? "default_%m.proflite"

69 : "default_%m.profraw";

70}

71}

Implementation of the target library information.

LLVM_ABI void addVectorizableFunctionsFromVecLib(enum VectorLibrary VecLib, const llvm::Triple &TargetTriple)

Calls addVectorizableFunctions with a known preset of functions for the given vector library.

Triple - Helper class for working with autoconf configuration names.

LLVM_ABI std::string getDefaultProfileGenName()

Definition CodeGenOptions.cpp:66

LLVM_ABI TargetLibraryInfoImpl * createTLII(const llvm::Triple &TargetTriple, VectorLibrary Veclib)

Definition CodeGenOptions.cpp:22

VectorLibrary

Vector library option used with -fveclib=.

This is an optimization pass for GlobalISel generic memory operations.

llvm:🆑:opt< llvm::InstrProfCorrelator::ProfCorrelatorKind > ProfileCorrelate