struct TLSCandidate

Declaration

struct TLSCandidate { /* full declaration omitted */ };

Description

Keeps track of a TLS variable candidate and its users.

Declared at: llvm/include/llvm/Transforms/Scalar/TLSVariableHoist.h:92

Member Variables

public SmallVector<llvm::tlshoist::TLSUser, 8> Users

Method Overview

  • public void addUser(llvm::Instruction * Inst, unsigned int Idx)

Methods

ΒΆvoid addUser(llvm::Instruction* Inst,
             unsigned int Idx)

Description

Add the user to the use list and update the cost.

Declared at: llvm/include/llvm/Transforms/Scalar/TLSVariableHoist.h:96

Parameters

llvm::Instruction* Inst
unsigned int Idx