Home | History | Annotate | Download | only in SelectionDAG

Lines Matching defs:CI

211   if (const auto *CI = dyn_cast<ConstantInt>(V)) {
212 if (CI->getValue().getActiveBits() <= 64)
213 Reg = fastEmit_i(VT, VT, ISD::Constant, CI->getZExtValue());
404 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(0)))
413 CI->getZExtValue(), VT.getSimpleVT());
428 if (const auto *CI = dyn_cast<ConstantInt>(I->getOperand(1))) {
429 uint64_t Imm = CI->getSExtValue();
519 if (const auto *CI = dyn_cast<ConstantInt>(Idx)) {
520 if (CI->isZero())
523 uint64_t IdxN = CI->getValue().sextOrTrunc(64).getSExtValue();
573 const CallInst *CI, unsigned StartIdx) {
574 for (unsigned i = StartIdx, e = CI->getNumArgOperands(); i != e; ++i) {
575 Value *Val = CI->getArgOperand(i);
679 bool FastISel::lowerCallOperands(const CallInst *CI, unsigned ArgIdx,
687 ImmutableCallSite CS(CI);
690 Value *V = CI->getOperand(ArgI);
701 Type *RetTy = ForceRetVoidTy ? Type::getVoidTy(CI->getType()->getContext())
702 : CI->getType();
703 CLI.setCallee(CI->getCallingConv(), RetTy, Callee, std::move(Args), NumArgs);
870 bool FastISel::lowerCallTo(const CallInst *CI, const char *SymName,
876 return lowerCallTo(CI, Sym, NumArgs);
879 bool FastISel::lowerCallTo(const CallInst *CI, MCSymbol *Symbol,
881 ImmutableCallSite CS(CI);
893 Value *V = CI->getOperand(ArgI);
1010 bool FastISel::lowerCall(const CallInst *CI) {
1011 ImmutableCallSite CS(CI);
1039 bool IsTailCall = CI->isTailCall();
1044 CLI.setCallee(RetTy, FuncTy, CI->getCalledValue(), std::move(Args), CS)
1185 } else if (const auto *CI = dyn_cast<ConstantInt>(V)) {
1186 if (CI->getBitWidth() > 64)
1188 .addCImm(CI)
1194 .addImm(CI->getZExtValue())
1217 ConstantInt *CI = cast<ConstantInt>(II->getArgOperand(1));
1218 unsigned long long Res = CI->isZero() ? -1ULL : 0;
2182 CmpInst::Predicate FastISel::optimizeCmpPredicate(const CmpInst *CI) const {
2184 CmpInst::Predicate Predicate = CI->getPredicate();
2185 if (CI->getOperand(0) != CI->getOperand(1))