forked from OSchip/llvm-project
Missed part of recent kernel codemodel tweaks
llvm-svn: 78293
This commit is contained in:
parent
71dc50915a
commit
82db9891fa
|
@ -253,8 +253,10 @@ def In32BitMode : Predicate<"!Subtarget->is64Bit()">;
|
|||
def In64BitMode : Predicate<"Subtarget->is64Bit()">;
|
||||
def IsWin64 : Predicate<"Subtarget->isTargetWin64()">;
|
||||
def NotWin64 : Predicate<"!Subtarget->isTargetWin64()">;
|
||||
def SmallCode : Predicate<"TM.getCodeModel() == CodeModel::Small">;
|
||||
def NotSmallCode : Predicate<"TM.getCodeModel() != CodeModel::Small">;
|
||||
def SmallCode : Predicate<"TM.getCodeModel() == CodeModel::Small ||"
|
||||
"TM.getCodeModel() == CodeModel::Kernel">;
|
||||
def NotSmallCode : Predicate<"TM.getCodeModel() != CodeModel::Small &&"
|
||||
"TM.getCodeModel() != CodeModel::Kernel">;
|
||||
def IsStatic : Predicate<"TM.getRelocationModel() == Reloc::Static">;
|
||||
def OptForSpeed : Predicate<"!OptForSize">;
|
||||
def FastBTMem : Predicate<"!Subtarget->isBTMemSlow()">;
|
||||
|
|
Loading…
Reference in New Issue