LLVM
8.0.1
|
#include "llvm/Analysis/TypeMetadataUtils.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Intrinsics.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 |
Definition at line 25 of file TypeMetadataUtils.cpp.
References llvm::DominatorTree::dominates(), llvm::SmallVectorTemplateBase< T >::push_back(), and llvm::Value::uses().
Referenced by llvm::findDevirtualizableCallsForTypeCheckedLoad(), and findLoadCallsAtConstantOffset().
|
static |
Definition at line 52 of file TypeMetadataUtils.cpp.
References findCallsAtConstantOffset(), GEP, llvm::Module::getDataLayout(), llvm::DataLayout::getIndexedOffsetInType(), and llvm::Value::uses().
Referenced by llvm::findDevirtualizableCallsForTypeTest().