Home | History | Annotate | Download | only in X86

Lines Matching defs:CC

167   bool foldX86XALUIntrinsic(X86::CondCode &CC, const Instruction *I,
178 X86::CondCode CC = X86::COND_INVALID;
183 case CmpInst::FCMP_UEQ: CC = X86::COND_E; break;
185 case CmpInst::FCMP_OGT: CC = X86::COND_A; break;
187 case CmpInst::FCMP_OGE: CC = X86::COND_AE; break;
189 case CmpInst::FCMP_ULT: CC = X86::COND_B; break;
191 case CmpInst::FCMP_ULE: CC = X86::COND_BE; break;
192 case CmpInst::FCMP_ONE: CC = X86::COND_NE; break;
193 case CmpInst::FCMP_UNO: CC = X86::COND_P; break;
194 case CmpInst::FCMP_ORD: CC = X86::COND_NP; break;
196 case CmpInst::FCMP_UNE: CC = X86::COND_INVALID; break;
199 case CmpInst::ICMP_EQ: CC = X86::COND_E; break;
200 case CmpInst::ICMP_NE: CC = X86::COND_NE; break;
201 case CmpInst::ICMP_UGT: CC = X86::COND_A; break;
202 case CmpInst::ICMP_UGE: CC = X86::COND_AE; break;
203 case CmpInst::ICMP_ULT: CC = X86::COND_B; break;
204 case CmpInst::ICMP_ULE: CC = X86::COND_BE; break;
205 case CmpInst::ICMP_SGT: CC = X86::COND_G; break;
206 case CmpInst::ICMP_SGE: CC = X86::COND_GE; break;
207 case CmpInst::ICMP_SLT: CC = X86::COND_L; break;
208 case CmpInst::ICMP_SLE: CC = X86::COND_LE; break;
211 return std::make_pair(CC, NeedSwap);
216 unsigned CC;
230 case CmpInst::FCMP_OEQ: CC = 0; break;
232 case CmpInst::FCMP_OLT: CC = 1; break;
234 case CmpInst::FCMP_OLE: CC = 2; break;
235 case CmpInst::FCMP_UNO: CC = 3; break;
236 case CmpInst::FCMP_UNE: CC = 4; break;
238 case CmpInst::FCMP_UGE: CC = 5; break;
240 case CmpInst::FCMP_UGT: CC = 6; break;
241 case CmpInst::FCMP_ORD: CC = 7; break;
243 case CmpInst::FCMP_ONE: CC = 8; break;
246 return std::make_pair(CC, NeedSwap);
265 bool X86FastISel::foldX86XALUIntrinsic(X86::CondCode &CC, const Instruction *I,
315 CC = TmpCC;
1005 CallingConv::ID CC = F.getCallingConv();
1006 if (CC != CallingConv::C &&
1007 CC != CallingConv::Fast &&
1008 CC != CallingConv::X86_FastCall &&
1009 CC != CallingConv::X86_64_SysV)
1012 if (Subtarget->isCallingConvWin64(CC))
1021 if (CC == CallingConv::Fast && TM.Options.GuaranteedTailCallOpt)
1037 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, I->getContext());
1314 X86::CondCode CC;
1316 std::tie(CC, SwapArgs) = getX86ConditionCode(Predicate);
1317 assert(CC <= X86::LAST_VALID_COND && "Unexpected condition code.");
1318 unsigned Opc = X86::getSETFromCond(CC);
1392 X86::CondCode CC;
1442 std::tie(CC, SwapArgs) = getX86ConditionCode(Predicate);
1443 assert(CC <= X86::LAST_VALID_COND && "Unexpected condition code.");
1445 BranchOpc = X86::GetCondBranchFromCond(CC);
1499 } else if (foldX86XALUIntrinsic(CC, BI, BI->getCondition())) {
1506 unsigned BranchOpc = X86::GetCondBranchFromCond(CC);
1775 X86::CondCode CC = X86::COND_NE;
1803 std::tie(CC, NeedSwap) = getX86ConditionCode(Predicate);
1804 assert(CC <= X86::LAST_VALID_COND && "Unexpected condition code.");
1834 } else if (foldX86XALUIntrinsic(CC, I, Cond)) {
1871 unsigned Opc = X86::getCMovFromCond(CC, RC->getSize());
1909 unsigned CC;
1911 std::tie(CC, NeedSwap) = getX86SSEConditionCode(Predicate);
1912 if (CC > 7)
1967 CmpRHSReg, CmpRHSIsKill, CC);
1975 CmpRHSReg, CmpRHSIsKill, CC);
2001 X86::CondCode CC = X86::COND_NE;
2009 std::tie(CC, NeedSwap) = getX86ConditionCode(CI->getPredicate());
2010 if (CC > X86::LAST_VALID_COND)
2046 fastEmitInst_rri(Opc, RC, RHSReg, RHSIsKill, LHSReg, LHSIsKill, CC);
2723 CallingConv::ID CC = F->getCallingConv();
2724 if (CC != CallingConv::C)
2727 if (Subtarget->isCallingConvWin64(CC))
2811 CallingConv::ID CC,
2817 if (CC == CallingConv::Fast || CC == CallingConv::GHC ||
2818 CC == CallingConv::HiPE)
2835 CallingConv::ID CC = CLI.CallConv;
2842 bool IsWin64 = Subtarget->isCallingConvWin64(CC);
2845 switch (CC) {
2862 if (CC == CallingConv::Fast && TM.Options.GuaranteedTailCallOpt)
2875 if (X86::isCalleePop(CC, Subtarget->is64Bit(), IsVarArg,
2931 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, ArgLocs, CLI.RetTy->getContext());
3143 MIB.addRegMask(TRI.getCallPreservedMask(*FuncInfo.MF, CC));
3158 computeBytesPoppedByCallee(Subtarget, CC, CLI.CS);
3165 CCState CCRetInfo(CC, IsVarArg, *FuncInfo.MF, RVLocs,