|
LLVM 22.0.0git
|
#include "PointerTypeAnalysis.h"#include "llvm/IR/Constants.h"#include "llvm/IR/GlobalVariable.h"#include "llvm/IR/Instructions.h"#include "llvm/IR/Module.h"#include "llvm/IR/Operator.h"Go to the source code of this file.
Functions | |
| static Type * | classifyConstantWithOpaquePtr (const Constant *C, PointerTypeMap &Map) |
| static void | classifyGlobalCtorPointerType (const GlobalVariable &GV, PointerTypeMap &Map) |
|
static |
Definition at line 136 of file PointerTypeAnalysis.cpp.
References assert(), llvm::CallingConv::C, llvm::cast(), classifyConstantWithOpaquePtr(), llvm::dyn_cast(), llvm::SmallVectorImpl< T >::emplace_back(), F, llvm::ArrayType::get(), llvm::StructType::get(), llvm::TypedPointerType::get(), llvm::VectorType::get(), llvm::Type::getInt8Ty(), I, and llvm::isa().
Referenced by classifyConstantWithOpaquePtr(), and classifyGlobalCtorPointerType().
|
static |
Definition at line 194 of file PointerTypeAnalysis.cpp.
References llvm::cast(), classifyConstantWithOpaquePtr(), llvm::TypedPointerType::get(), llvm::GlobalVariable::getInitializer(), llvm::Type::getPointerAddressSpace(), and llvm::GlobalValue::getType().
Referenced by llvm::dxil::PointerTypeAnalysis::run().