Home
last modified time | relevance | path

Searched refs:ModFlagBehavior (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp277 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) { in isValidModFlagBehavior()
281 MFB = static_cast<ModFlagBehavior>(Val); in isValidModFlagBehavior()
295 ModFlagBehavior MFB; in getModuleFlagsMetadata()
337 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
345 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
349 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
515 addModuleFlag(ModFlagBehavior::Max, "PIC Level", PL); in setPICLevel()
529 addModuleFlag(ModFlagBehavior::Max, "PIE Level", PL); in setPIELevel()
547 addModuleFlag(ModFlagBehavior::Error, "Code Model", CL); in setCodeModel()
552 addModuleFlag(ModFlagBehavior::Error, "CSProfileSummary", M); in setProfileSummary()
[all …]
DCore.cpp293 static Module::ModFlagBehavior
297 return Module::ModFlagBehavior::Error; in map_to_llvmModFlagBehavior()
299 return Module::ModFlagBehavior::Warning; in map_to_llvmModFlagBehavior()
301 return Module::ModFlagBehavior::Require; in map_to_llvmModFlagBehavior()
303 return Module::ModFlagBehavior::Override; in map_to_llvmModFlagBehavior()
305 return Module::ModFlagBehavior::Append; in map_to_llvmModFlagBehavior()
307 return Module::ModFlagBehavior::AppendUnique; in map_to_llvmModFlagBehavior()
313 map_from_llvmModFlagBehavior(Module::ModFlagBehavior Behavior) { in map_from_llvmModFlagBehavior()
315 case Module::ModFlagBehavior::Error: in map_from_llvmModFlagBehavior()
317 case Module::ModFlagBehavior::Warning: in map_from_llvmModFlagBehavior()
[all …]
DVerifier.cpp1400 Module::ModFlagBehavior MFB; in visitModuleFlag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModule.h114 enum ModFlagBehavior { enum
155 static bool isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB);
158 ModFlagBehavior Behavior;
162 ModuleFlagEntry(ModFlagBehavior B, MDString *K, Metadata *V) in ModuleFlagEntry()
490 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
491 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
492 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp284 M.addModuleFlag(Module::ModFlagBehavior::Error, MDKey, in recordFeatures()
288 M.addModuleFlag(Module::ModFlagBehavior::Error, MDKey, in recordFeatures()