Home
last modified time | relevance | path

Searched refs:EFLAGS (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrCMovSetCC.td17 let Uses = [EFLAGS], Predicates = [HasCMOV], Constraints = "$src1 = $dst",
23 (X86cmov GR16:$src1, GR16:$src2, timm:$cond, EFLAGS))]>,
29 (X86cmov GR32:$src1, GR32:$src2, timm:$cond, EFLAGS))]>,
44 timm:$cond, EFLAGS))]>, TB, OpSize16;
49 timm:$cond, EFLAGS))]>, TB, OpSize32;
54 timm:$cond, EFLAGS))]>, TB;
76 let Uses = [EFLAGS], isCodeGenOnly = 1, ForceDisassemble = 1 in {
79 [(set GR8:$dst, (X86setcc timm:$cond, EFLAGS))]>,
83 [(store (X86setcc timm:$cond, EFLAGS), addr:$dst)]>,
85 } // Uses = [EFLAGS]
[all …]
H A DX86InstrKL.td19 let Uses = [XMM0, EAX], Defs = [EFLAGS] in {
25 let Uses = [XMM0], Defs = [XMM0, XMM1, XMM2, XMM4, XMM5, XMM6, EFLAGS] in {
30 let Uses = [XMM0, XMM1], Defs = [XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, EFLAGS] in {
36 Defs = [EFLAGS] in {
39 [(set VR128:$dst, EFLAGS,
44 [(set VR128:$dst, EFLAGS,
49 [(set VR128:$dst, EFLAGS,
54 [(set VR128:$dst, EFLAGS,
62 Defs = [EFLAGS, XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7],
H A DX86InstrSNP.td19 let Uses = [RAX], Defs = [EAX, EFLAGS] in
24 let Uses = [RAX, RCX, RDX], Defs = [EAX, EFLAGS] in
28 let Uses = [EAX, ECX, EDX], Defs = [EAX, EFLAGS] in
33 let Uses = [RAX, RCX], Defs = [EAX, EFLAGS] in
38 let Uses = [RAX, RCX, RDX], Defs = [EAX, EFLAGS] in
43 let Uses = [RAX, RDX], Defs = [RAX, RCX, RDX, EFLAGS] in
H A DX86InstrMisc.td250 let Defs = [EFLAGS] in {
300 } // Defs = [EFLAGS]
615 let Defs = [EFLAGS] in {
810 } // Defs = [EFLAGS]
1022 let SchedRW = [WriteALU], Defs = [EFLAGS], Uses = [EFLAGS] in {
1040 let Uses = [AL,EFLAGS], Defs = [AX,EFLAGS], hasSideEffects = 0 in
1055 let Uses = [AL,EFLAGS], Defs = [AX,EFLAGS], hasSideEffects = 0 in
1060 let Uses = [AL,EFLAGS], Defs = [AL,EFLAGS], hasSideEffects = 0 in
1065 let Uses = [AL,EFLAGS], Defs = [AL,EFLAGS], hasSideEffects = 0 in
1431 let Defs = [EFLAGS] in {
[all …]
H A DX86InstrArithmetic.td74 let Defs = [AL, EFLAGS, AX], Uses = [AL] in
77 let Defs = [AX, DX, EFLAGS], Uses = [AX] in
83 let Defs = [AL, EFLAGS, AX], Uses = [AL] in
86 let Defs = [AX, DX, EFLAGS], Uses = [AX] in
111 let Defs = [AL, EFLAGS, AX], Uses = [AL] in
138 let Defs = [AL, AH, EFLAGS], Uses = [AX] in
146 let Defs = [AL, AH, EFLAGS], Uses = [AX] in
352 (implicit EFLAGS)];
356 (implicit EFLAGS)];
803 /// defined with "(set GPR:$dst, EFLAGS, (node LHS, RHS, EFLAGS))" like ADC and
[all …]
H A DX86InstrCompiler.td38 // sub / add which can clobber EFLAGS.
56 // sub / add which can clobber EFLAGS.
84 let Defs = [EFLAGS] in {
263 Defs = [R10, R11, EFLAGS] in {
272 Defs = [R10, R11, EFLAGS] in {
357 let Uses = [EFLAGS], Defs = [EFLAGS], isPseudo = 1, SchedRW = [WriteADC],
514 let Defs = [EAX, ECX, EFLAGS, DF],
527 let Defs = [RAX, EFLAGS, DF],
678 let isCodeGenOnly = 1, Defs = [EFLAGS] in
917 let Defs = [AL, EFLAGS], Uses = [AL] in
[all …]
H A DX86InstrUtils.td1007 // EFLAGS.
1043 // EFLAGS.
1085 // EFLAGS.
1109 // EFLAGS.
1157 // read/write EFLAGS.
1164 // read/write EFLAGS.
1216 // read/write EFLAGS.
1223 // read/write EFLAGS.
1275 // read/write EFLAGS.
1280 // read/write EFLAGS.
[all …]
H A DX86FlagsCopyLowering.cpp370 MI.getOperand(0).getReg() == X86::EFLAGS) in runOnMachineFunction()
467 while (TestMBB->isLiveIn(X86::EFLAGS) && !TestMBB->pred_empty() && in runOnMachineFunction()
499 return MI.findRegisterDefOperand(X86::EFLAGS); in runOnMachineFunction()
563 if (MI.findRegisterDefOperand(X86::EFLAGS)) { in runOnMachineFunction()
613 assert(MI.findRegisterDefOperand(X86::EFLAGS) && in runOnMachineFunction()
641 if (SuccMBB->isLiveIn(X86::EFLAGS) && in runOnMachineFunction()
675 SuccMBB->removeLiveIn(X86::EFLAGS); in runOnMachineFunction()
702 (MI.getOperand(0).getReg() == X86::EFLAGS || in runOnMachineFunction()
703 MI.getOperand(1).getReg() == X86::EFLAGS)) { in runOnMachineFunction()
732 if (MI.findRegisterDefOperand(X86::EFLAGS)) in collectCondsInRegs()
[all …]
H A DX86CmovConversion.cpp358 if (I.definesRegister(X86::EFLAGS)) { in collectCmovCandidates()
585 if (MI->killsRegister(X86::EFLAGS)) in checkEFLAGSLive()
595 if (I->readsRegister(X86::EFLAGS)) in checkEFLAGSLive()
597 if (I->definesRegister(X86::EFLAGS)) in checkEFLAGSLive()
603 if (Succ->isLiveIn(X86::EFLAGS)) in checkEFLAGSLive()
696 FalseMBB->addLiveIn(X86::EFLAGS); in convertCmovInstsToBranches()
697 SinkMBB->addLiveIn(X86::EFLAGS); in convertCmovInstsToBranches()
H A DX86SpeculativeLoadHardening.cpp486 ZeroI->findRegisterDefOperand(X86::EFLAGS); in runOnMachineFunction()
736 bool LiveEFLAGS = Succ.isLiveIn(X86::EFLAGS); in tracePredStateThroughCFG()
738 CheckingMBB.addLiveIn(X86::EFLAGS); in tracePredStateThroughCFG()
1076 assert(!MBB.isLiveIn(X86::EFLAGS) && in tracePredStateThroughIndirectBranches()
1226 if (MI.killsRegister(X86::EFLAGS, &TRI)) in isEFLAGSLive()
1232 return MBB.isLiveIn(X86::EFLAGS); in isEFLAGSLive()
1530 ShiftI->addRegisterDead(X86::EFLAGS, TRI); in mergePredStateIntoSP()
1535 OrI->addRegisterDead(X86::EFLAGS, TRI); in mergePredStateIntoSP()
1555 ShiftI->addRegisterDead(X86::EFLAGS, TRI); in extractPredStateFromSP()
1733 OrI->addRegisterDead(X86::EFLAGS, TRI); in hardenLoadAddr()
[all …]
H A DX86FixupSetCC.cpp72 if (MI.definesRegister(X86::EFLAGS)) in runOnMachineFunction()
97 if (FlagsDefMI->readsRegister(X86::EFLAGS)) in runOnMachineFunction()
H A DX86InstrTSX.td42 let Defs = [EFLAGS] in
44 "xtest", [(set EFLAGS, (X86xtest))]>, TB, Requires<[HasRTM]>;
H A DX86InstrFPStack.td16 // Clobbers EFLAGS due to OR instruction used internally.
18 let usesCustomInserter = 1, hasNoSchedulingInfo = 1, Defs = [EFLAGS] in {
339 cc, EFLAGS))]>;
343 cc, EFLAGS))]>;
347 cc, EFLAGS))]>,
352 let Uses = [EFLAGS], Constraints = "$src1 = $dst" in {
361 } // Uses = [EFLAGS], Constraints = "$src1 = $dst"
569 let Defs = [EFLAGS, FPSW], Uses = [FPCW] in {
571 [(set EFLAGS, (X86any_fcmp RFP32:$lhs, RFP32:$rhs))]>,
574 [(set EFLAGS, (X86any_fcmp RFP64:$lhs, RFP64:$rhs))]>,
[all …]
H A DX86FixupLEAs.cpp435 if (!CurInst->registerDefIsDead(X86::EFLAGS, TRI)) in searchALUInst()
529 NewMI1->addRegisterDead(X86::EFLAGS, TRI); in optLEAALU()
534 NewMI2->addRegisterDead(X86::EFLAGS, TRI); in optLEAALU()
561 MBB.computeRegisterLiveness(TRI, X86::EFLAGS, I) != in optTwoAddrLEA()
701 MBB.computeRegisterLiveness(TRI, X86::EFLAGS, I, 4) != in processInstructionForSlowLEA()
753 MBB.computeRegisterLiveness(TRI, X86::EFLAGS, I, 4) != in processInstrForSlow3OpLEA()
H A DX86InstrControl.td73 let isBranch = 1, isTerminator = 1, Uses = [EFLAGS], SchedRW = [WriteJump],
78 [(X86brcond bb:$dst, timm:$cond, EFLAGS)]>;
297 // rather than barriers, and they use EFLAGS.
300 let Uses = [ESP, EFLAGS, SSP] in {
421 // rather than barriers, and they use EFLAGS.
424 let Uses = [RSP, EFLAGS, SSP] in {
H A DX86LoadValueInjectionRetHardening.cpp100 ->addRegisterDead(X86::EFLAGS, TRI); in runOnMachineFunction()
H A DX86InstrTBM.td16 let Predicates = [HasTBM], Defs = [EFLAGS] in {
75 } // HasTBM, EFLAGS
H A DX86InstrInfo.cpp1106 if (Instr.modifiesRegister(X86::EFLAGS, TRI)) in findRedundantFlagInstr()
3868 if (MI.modifiesRegister(X86::EFLAGS, TRI)) { in analyzeBranchPredicate()
3873 if (MI.readsRegister(X86::EFLAGS, TRI)) in analyzeBranchPredicate()
3882 if (Succ->isLiveIn(X86::EFLAGS)) in analyzeBranchPredicate()
4206 if (SrcReg == X86::EFLAGS || DestReg == X86::EFLAGS) { in copyPhysReg()
5237 if (Inst.modifiesRegister(X86::EFLAGS, TRI)) { in optimizeCompareInstr()
5440 if (Successor->isLiveIn(X86::EFLAGS)) in optimizeCompareInstr()
5459 if (!Instr->readsRegister(X86::EFLAGS, TRI) && in optimizeCompareInstr()
5487 if (!MBB->isLiveIn(X86::EFLAGS)) in optimizeCompareInstr()
5488 MBB->addLiveIn(X86::EFLAGS); in optimizeCompareInstr()
[all …]
H A DX86InstrSystem.td47 let Uses = [EFLAGS] in
432 let Defs = [RAX, EFLAGS], Uses = [RBX, RCX], Predicates = [In64BitMode] in
727 let Defs = [EFLAGS], SchedRW = [WriteSystem] in {
747 // IF (inside EFLAGS) management instructions.
748 let SchedRW = [WriteSystem], Uses = [EFLAGS], Defs = [EFLAGS] in {
812 let Uses = [RAX, RBX, RCX, RDX], Defs = [RAX, RBX, RCX, RDX, EFLAGS] in
H A DX86RegisterInfo.cpp733 assert(!(Mask[X86::EFLAGS / 32] & (1U << (X86::EFLAGS % 32))) && in adjustStackMapLiveOutMask()
737 for (auto Reg : {X86::EFLAGS, X86::RIP, X86::EIP, X86::IP}) in adjustStackMapLiveOutMask()
H A DX86InstrShiftRotate.td106 let Uses = !listconcat([CL], uses), Defs = [EFLAGS] in {
232 …l", MRM2r, MRM2m, null_frag, WriteRotateCL, WriteRotate, WriteRotateCLLd, WriteRotateLd, [EFLAGS]>;
233 …r", MRM3r, MRM3m, null_frag, WriteRotateCL, WriteRotate, WriteRotateCLLd, WriteRotateLd, [EFLAGS]>;
508 Defs = [EFLAGS], isPseudo = 1, SchedRW = [WriteSHDrri],
603 // Prefer RORX which is non-destructive and doesn't update EFLAGS.
H A DX86ExpandPseudo.cpp122 if (!MBB->isLiveIn(X86::EFLAGS)) in INITIALIZE_PASS()
123 MBB->addLiveIn(X86::EFLAGS); in INITIALIZE_PASS()
/freebsd-14.2/share/mk/
H A Dbsd.suffixes.mk41 ${FC} ${RFLAGS} ${EFLAGS} ${FFLAGS} ${LDFLAGS} ${.IMPSRC} ${LDLIBS} \
45 ${FC} ${RFLAGS} ${EFLAGS} ${FFLAGS} -c ${.IMPSRC} -o ${.TARGET}
86 ${FC} ${EFLAGS} ${RFLAGS} ${FFLAGS} ${LDFLAGS} ${.IMPSRC} \
H A Dsys.mk219 EFLAGS ?=
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchLBTInstrFormats.td20 // the "EFLAGS" register.
22 // we do not need to add `let Defs/Uses = [EFLAGS]`.

12