LLVM 20.0.0git
Functions
TypeMetadataUtils.cpp File Reference
#include "llvm/Analysis/TypeMetadataUtils.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"

Go to the source code of this file.

Functions

static void findCallsAtConstantOffset (SmallVectorImpl< DevirtCallSite > &DevirtCalls, bool *HasNonCallUses, Value *FPtr, uint64_t Offset, const CallInst *CI, DominatorTree &DT)
 
static void findLoadCallsAtConstantOffset (const Module *M, SmallVectorImpl< DevirtCallSite > &DevirtCalls, Value *VPtr, int64_t Offset, const CallInst *CI, DominatorTree &DT)
 
static void replaceRelativePointerUserWithZero (User *U)
 

Function Documentation

◆ findCallsAtConstantOffset()

static void findCallsAtConstantOffset ( SmallVectorImpl< DevirtCallSite > &  DevirtCalls,
bool HasNonCallUses,
Value FPtr,
uint64_t  Offset,
const CallInst CI,
DominatorTree DT 
)
static

◆ findLoadCallsAtConstantOffset()

static void findLoadCallsAtConstantOffset ( const Module M,
SmallVectorImpl< DevirtCallSite > &  DevirtCalls,
Value VPtr,
int64_t  Offset,
const CallInst CI,
DominatorTree DT 
)
static

◆ replaceRelativePointerUserWithZero()

static void replaceRelativePointerUserWithZero ( User U)
static

Definition at line 240 of file TypeMetadataUtils.cpp.

Referenced by llvm::replaceRelativePointerUsersWithZero().