LLVM: lib/ObjCopy/DXContainer/DXContainerObject.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
10
11namespace llvm {
13namespace dxbc {
14
19
24 Header.FileSize += P.size();
25}
26
27}
28}
29}
ReachingDefInfo InstSet & ToRemove
Lightweight error class with error context and mandatory checking.
static ErrorSuccess success()
Create a success value.
llvm::function_ref< bool(const Part &)> PartPred
This is an optimization pass for GlobalISel generic memory operations.
void erase_if(Container &C, UnaryPredicate P)
Provide a container algorithm similar to C++ Library Fundamentals v2's erase_if which is equivalent t...
void recomputeHeader()
Definition DXContainerObject.cpp:20
size_t headerSize() const
Error removeParts(PartPred ToRemove)
Definition DXContainerObject.cpp:15
::llvm::dxbc::Header Header
SmallVector< Part > Parts