• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/

Lines Matching refs:CI

148   unsigned X86MaterializeInt(const ConstantInt *CI, MVT VT);
664 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Val)) {
677 if (isInt<32>(CI->getSExtValue()))
685 addFullAddress(MIB, AM).addImm(Signed ? (uint64_t) CI->getSExtValue()
686 : CI->getZExtValue());
887 if (const ConstantInt *CI = dyn_cast<ConstantInt>(U->getOperand(1))) {
888 uint64_t Disp = (int32_t)AM.Disp + (uint64_t)CI->getSExtValue();
921 if (const ConstantInt *CI = dyn_cast<ConstantInt>(Op)) {
923 Disp += CI->getSExtValue() * S;
928 ConstantInt *CI =
930 Disp += CI->getSExtValue() * S;
1419 const CmpInst *CI = cast<CmpInst>(I);
1426 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
1453 const Value *LHS = CI->getOperand(0);
1454 const Value *RHS = CI->getOperand(1);
1628 if (const CmpInst *CI = dyn_cast<CmpInst>(BI->getCondition())) {
1629 if (CI->hasOneUse() && CI->getParent() == I->getParent()) {
1630 EVT VT = TLI.getValueType(DL, CI->getOperand(0)->getType());
1633 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
1640 const Value *CmpLHS = CI->getOperand(0);
1641 const Value *CmpRHS = CI->getOperand(1);
1684 if (!X86FastEmitCompare(CmpLHS, CmpRHS, VT, CI->getDebugLoc()))
2024 const auto *CI = dyn_cast<CmpInst>(Cond);
2025 if (CI && (CI->getParent() == I->getParent())) {
2026 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
2050 const Value *CmpLHS = CI->getOperand(0);
2051 const Value *CmpRHS = CI->getOperand(1);
2057 if (!X86FastEmitCompare(CmpLHS, CmpRHS, CmpVT, CI->getDebugLoc()))
2143 const auto *CI = dyn_cast<FCmpInst>(I->getOperand(0));
2144 if (!CI || (CI->getParent() != I->getParent()))
2147 if (I->getType() != CI->getOperand(0)->getType() ||
2152 const Value *CmpLHS = CI->getOperand(0);
2153 const Value *CmpRHS = CI->getOperand(1);
2154 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
2295 const auto *CI = dyn_cast<CmpInst>(Cond);
2296 if (CI && (CI->getParent() == I->getParent())) {
2298 std::tie(CC, NeedSwap) = X86::getX86ConditionCode(CI->getPredicate());
2302 const Value *CmpLHS = CI->getOperand(0);
2303 const Value *CmpRHS = CI->getOperand(1);
2309 if (!X86FastEmitCompare(CmpLHS, CmpRHS, CmpVT, CI->getDebugLoc()))
2358 if (const auto *CI = dyn_cast<CmpInst>(I->getOperand(0))) {
2359 CmpInst::Predicate Predicate = optimizeCmpPredicate(CI);
2910 if (const auto *CI = dyn_cast<ConstantInt>(RHS)) {
2916 if (CI->isOne() && (BaseOpc == ISD::ADD || BaseOpc == ISD::SUB) &&
2926 CI->getZExtValue());
3186 const CallInst *CI = dyn_cast_or_null<CallInst>(CLI.CB);
3187 const Function *CalledFn = CI ? CI->getCalledFunction() : nullptr;
3192 if ((CI && CI->doesNoCfCheck()) || (II && II->doesNoCfCheck()))
3196 if ((CI && CI->hasFnAttr("no_caller_saved_registers")) ||
3253 if (auto *CI = dyn_cast<ConstantInt>(Val)) {
3254 if (CI->getBitWidth() < 32) {
3256 Val = ConstantExpr::getSExt(CI, Type::getInt32Ty(CI->getContext()));
3258 Val = ConstantExpr::getZExt(CI, Type::getInt32Ty(CI->getContext()));
3685 unsigned X86FastISel::X86MaterializeInt(const ConstantInt *CI, MVT VT) {
3689 uint64_t Imm = CI->getZExtValue();
3853 if (const auto *CI = dyn_cast<ConstantInt>(C))
3854 return X86MaterializeInt(CI, VT);