LLVM 20.0.0git
|
#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) |
|
static |
Definition at line 25 of file TypeMetadataUtils.cpp.
References llvm::DominatorTree::dominates(), findCallsAtConstantOffset(), llvm::Instruction::getFunction(), II, llvm::Offset, llvm::SmallVectorTemplateBase< T, bool >::push_back(), and llvm::Value::uses().
Referenced by findCallsAtConstantOffset(), llvm::findDevirtualizableCallsForTypeCheckedLoad(), and findLoadCallsAtConstantOffset().
|
static |
Definition at line 54 of file TypeMetadataUtils.cpp.
References llvm::drop_begin(), findCallsAtConstantOffset(), findLoadCallsAtConstantOffset(), GEP, llvm::Offset, and llvm::Value::uses().
Referenced by llvm::findDevirtualizableCallsForTypeTest(), and findLoadCallsAtConstantOffset().
|
static |
Definition at line 240 of file TypeMetadataUtils.cpp.
Referenced by llvm::replaceRelativePointerUsersWithZero().