|
LLVM
4.0.0
|
#include "llvm/Analysis/TypeBasedAliasAnalysis.h"#include "llvm/ADT/SetVector.h"#include "llvm/IR/Constants.h"#include "llvm/IR/LLVMContext.h"#include "llvm/IR/Module.h"#include "llvm/Support/CommandLine.h"Go to the source code of this file.
Functions | |
| static bool | isStructPathTBAA (const MDNode *MD) |
| Check the first operand of the tbaa tag node, if it is a MDNode, we treat it as struct-path aware TBAA format, otherwise, we treat it as scalar TBAA format. More... | |
| INITIALIZE_PASS (TypeBasedAAWrapperPass,"tbaa","Type-Based Alias Analysis", false, true) ImmutablePass *llvm | |
Variables | |
| static cl::opt< bool > | EnableTBAA ("enable-tbaa", cl::init(true)) |
| INITIALIZE_PASS | ( | TypeBasedAAWrapperPass | , |
| "tbaa" | , | ||
| "Type-Based Alias Analysis" | , | ||
| false | , | ||
| true | |||
| ) |
Definition at line 564 of file TypeBasedAliasAnalysis.cpp.
Check the first operand of the tbaa tag node, if it is a MDNode, we treat it as struct-path aware TBAA format, otherwise, we treat it as scalar TBAA format.
Definition at line 291 of file TypeBasedAliasAnalysis.cpp.
References llvm::MDNode::getNumOperands(), and llvm::MDNode::getOperand().
Referenced by llvm::TypeBasedAAResult::getModRefBehavior(), llvm::MDNode::getMostGenericTBAA(), llvm::MDNode::isTBAAVtableAccess(), and llvm::TypeBasedAAResult::pointsToConstantMemory().
1.8.6