• Home
  • Raw
  • Download

Lines Matching refs:src1

314                                    ::llvm::Value* src1, ::llvm::Value* src2) {  in ConvertCompare()  argument
316 DCHECK_EQ(src1->getType(), src2->getType()); in ConvertCompare()
318 case kCondEq: res = irb_->CreateICmpEQ(src1, src2); break; in ConvertCompare()
319 case kCondNe: res = irb_->CreateICmpNE(src1, src2); break; in ConvertCompare()
320 case kCondLt: res = irb_->CreateICmpSLT(src1, src2); break; in ConvertCompare()
321 case kCondGe: res = irb_->CreateICmpSGE(src1, src2); break; in ConvertCompare()
322 case kCondGt: res = irb_->CreateICmpSGT(src1, src2); break; in ConvertCompare()
323 case kCondLe: res = irb_->CreateICmpSLE(src1, src2); break; in ConvertCompare()
334 ::llvm::Value* src1 = GetLLVMValue(rl_src1.orig_sreg); in ConvertCompareAndBranch()
336 ::llvm::Value* cond_value = ConvertCompare(cc, src1, src2); in ConvertCompareAndBranch()
349 ::llvm::Value* src1 = GetLLVMValue(rl_src1.orig_sreg); in ConvertCompareZeroAndBranch()
356 ::llvm::Value* cond_value = ConvertCompare(cc, src1, src2); in ConvertCompareZeroAndBranch()
364 ::llvm::Value* src1, ::llvm::Value* src2) { in GenDivModOp() argument
381 args.push_back(src1); in GenDivModOp()
387 ::llvm::Value* src1, ::llvm::Value* src2) { in GenArithOp() argument
390 case kOpAdd: res = irb_->CreateAdd(src1, src2); break; in GenArithOp()
391 case kOpSub: res = irb_->CreateSub(src1, src2); break; in GenArithOp()
392 case kOpRsub: res = irb_->CreateSub(src2, src1); break; in GenArithOp()
393 case kOpMul: res = irb_->CreateMul(src1, src2); break; in GenArithOp()
394 case kOpOr: res = irb_->CreateOr(src1, src2); break; in GenArithOp()
395 case kOpAnd: res = irb_->CreateAnd(src1, src2); break; in GenArithOp()
396 case kOpXor: res = irb_->CreateXor(src1, src2); break; in GenArithOp()
397 case kOpDiv: res = GenDivModOp(true, is_long, src1, src2); break; in GenArithOp()
398 case kOpRem: res = GenDivModOp(false, is_long, src1, src2); break; in GenArithOp()
399 case kOpLsl: res = irb_->CreateShl(src1, src2); break; in GenArithOp()
400 case kOpLsr: res = irb_->CreateLShr(src1, src2); break; in GenArithOp()
401 case kOpAsr: res = irb_->CreateAShr(src1, src2); break; in GenArithOp()
410 ::llvm::Value* src1 = GetLLVMValue(rl_src1.orig_sreg); in ConvertFPArithOp()
414 case kOpAdd: res = irb_->CreateFAdd(src1, src2); break; in ConvertFPArithOp()
415 case kOpSub: res = irb_->CreateFSub(src1, src2); break; in ConvertFPArithOp()
416 case kOpMul: res = irb_->CreateFMul(src1, src2); break; in ConvertFPArithOp()
417 case kOpDiv: res = irb_->CreateFDiv(src1, src2); break; in ConvertFPArithOp()
418 case kOpRem: res = irb_->CreateFRem(src1, src2); break; in ConvertFPArithOp()
447 ::llvm::Value* src1 = GetLLVMValue(rl_src1.orig_sreg); in ConvertArithOp()
449 DCHECK_EQ(src1->getType(), src2->getType()); in ConvertArithOp()
450 ::llvm::Value* res = GenArithOp(op, rl_dest.wide, src1, src2); in ConvertArithOp()
456 ::llvm::Value* src1 = GetLLVMValue(rl_src1.orig_sreg); in ConvertArithOpLit()
458 ::llvm::Value* res = GenArithOp(op, rl_dest.wide, src1, src2); in ConvertArithOpLit()