X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=include%2Fllvm%2FTransforms%2FUtils%2FValueMapper.h;h=17ce4f4ab73dda73284d7ecf19bc86da5f26ee4d;hp=6f4cd24c849ffa2ae9600851fd038387bde74971;hb=78b70af914869966c1b90415d7f020c396699e8c;hpb=fb7bc3560222f3efa26a492485eec70969ab3d8a diff --git a/include/llvm/Transforms/Utils/ValueMapper.h b/include/llvm/Transforms/Utils/ValueMapper.h index 6f4cd24c849..17ce4f4ab73 100644 --- a/include/llvm/Transforms/Utils/ValueMapper.h +++ b/include/llvm/Transforms/Utils/ValueMapper.h @@ -69,6 +69,10 @@ namespace llvm { /// Instruct the remapper to move distinct metadata instead of duplicating /// it when there are module-level changes. RF_MoveDistinctMDs = 4, + + /// Any global values not in value map are mapped to null instead of + /// mapping to self. Illegal if RF_IgnoreMissingEntries is also set. + RF_NullMapMissingGlobalValues = 8, }; static inline RemapFlags operator|(RemapFlags LHS, RemapFlags RHS) {