Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DModule.cpp269 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) { in isValidModFlagBehavior()
273 MFB = static_cast<ModFlagBehavior>(Val); in isValidModFlagBehavior()
287 ModFlagBehavior MFB; in getModuleFlagsMetadata()
329 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
337 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
341 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
491 addModuleFlag(ModFlagBehavior::Max, "PIC Level", PL); in setPICLevel()
505 addModuleFlag(ModFlagBehavior::Max, "PIE Level", PL); in setPIELevel()
509 addModuleFlag(ModFlagBehavior::Error, "ProfileSummary", M); in setProfileSummary()
526 addModuleFlag(ModFlagBehavior::Max, "RtLibUseGOT", 1); in setRtLibUseGOT()
DCore.cpp277 static Module::ModFlagBehavior
281 return Module::ModFlagBehavior::Error; in map_to_llvmModFlagBehavior()
283 return Module::ModFlagBehavior::Warning; in map_to_llvmModFlagBehavior()
285 return Module::ModFlagBehavior::Require; in map_to_llvmModFlagBehavior()
287 return Module::ModFlagBehavior::Override; in map_to_llvmModFlagBehavior()
289 return Module::ModFlagBehavior::Append; in map_to_llvmModFlagBehavior()
291 return Module::ModFlagBehavior::AppendUnique; in map_to_llvmModFlagBehavior()
297 map_from_llvmModFlagBehavior(Module::ModFlagBehavior Behavior) { in map_from_llvmModFlagBehavior()
299 case Module::ModFlagBehavior::Error: in map_from_llvmModFlagBehavior()
301 case Module::ModFlagBehavior::Warning: in map_from_llvmModFlagBehavior()
[all …]
DVerifier.cpp1337 Module::ModFlagBehavior MFB; in visitModuleFlag()
/external/llvm/lib/IR/
DModule.cpp290 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) { in isValidModFlagBehavior()
294 MFB = static_cast<ModFlagBehavior>(Val); in isValidModFlagBehavior()
308 ModFlagBehavior MFB; in getModuleFlagsMetadata()
350 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
358 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
362 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag()
497 addModuleFlag(ModFlagBehavior::Error, "PIC Level", PL); in setPICLevel()
511 addModuleFlag(ModFlagBehavior::Error, "PIE Level", PL); in setPIELevel()
515 addModuleFlag(ModFlagBehavior::Error, "ProfileSummary", M); in setProfileSummary()
DVerifier.cpp1198 Module::ModFlagBehavior MFB; in visitModuleFlag()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModule.h111 enum ModFlagBehavior { enum
152 static bool isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB);
155 ModFlagBehavior Behavior;
159 ModuleFlagEntry(ModFlagBehavior B, MDString *K, Metadata *V) in ModuleFlagEntry()
475 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
476 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
477 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
/external/llvm/include/llvm/IR/
DModule.h118 enum ModFlagBehavior {
156 static bool isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB);
159 ModFlagBehavior Behavior;
162 ModuleFlagEntry(ModFlagBehavior B, MDString *K, Metadata *V)
451 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
452 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
453 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);