|
Static Value-Flow Analysis
|
#include "SVF-LLVM/SVFIRBuilder.h"#include "SVF-LLVM/BasicTypes.h"#include "SVF-LLVM/CHGBuilder.h"#include "SVF-LLVM/CppUtil.h"#include "SVF-LLVM/LLVMLoopAnalysis.h"#include "SVF-LLVM/LLVMUtil.h"#include "SVF-LLVM/ObjTypeInference.h"#include "SVF-LLVM/SymbolTableBuilder.h"#include "SVFIR/PAGBuilderFromFile.h"#include "Util/CallGraphBuilder.h"#include "Graphs/CallGraph.h"#include "Util/Options.h"#include "Util/SVFUtil.h"Go to the source code of this file.
Functions | |
| static const Type * | getAggregateFieldType (const Type *type, const std::vector< unsigned > &indices) |
| Return the type at a constant aggregate path, including fixed vector lanes. | |
| static std::optional< unsigned > | getFixedVectorLane (const Type *type, const Value *index) |
| static bool | canModelAggregateReturn (const Function *fun) |
Require a returning, nonvariadic definition whose uses are all ordinary direct calls with matching types, so each call can pass the output pointers.
Definition at line 1558 of file SVFIRBuilder.cpp.
|
static |
Return the type at a constant aggregate path, including fixed vector lanes.
Definition at line 1335 of file SVFIRBuilder.cpp.
|
static |
Return the selected fixed-vector lane, or no lane for other vector types, variable indices and out-of-range indices.
Definition at line 1366 of file SVFIRBuilder.cpp.