Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Intrinsic

1 //===-- IntrinsicLowering.cpp - Intrinsic Lowering default implementation -===//
60 /// ReplaceCallWith - This function is used when we want to lower an intrinsic
101 case Intrinsic::setjmp:
105 case Intrinsic::longjmp:
109 case Intrinsic::siglongjmp:
113 case Intrinsic::memcpy:
120 case Intrinsic::memmove:
127 case Intrinsic::memset:
134 case Intrinsic::sqrt:
137 case Intrinsic::sin:
140 case Intrinsic::cos:
143 case Intrinsic::pow:
146 case Intrinsic::log:
149 case Intrinsic::log2:
152 case Intrinsic::log10:
155 case Intrinsic::exp:
158 case Intrinsic::exp2:
322 default: llvm_unreachable("Invalid type in intrinsic");
349 case Intrinsic::not_intrinsic:
350 report_fatal_error("Cannot lower a call to a non-intrinsic function '"+
353 report_fatal_error("Code generator does not support intrinsic function '"+
356 case Intrinsic::expect: {
367 case Intrinsic::setjmp: {
374 case Intrinsic::sigsetjmp:
379 case Intrinsic::longjmp: {
385 case Intrinsic::siglongjmp: {
391 case Intrinsic::ctpop:
395 case Intrinsic::bswap:
399 case Intrinsic::ctlz:
403 case Intrinsic::cttz: {
415 case Intrinsic::stacksave:
416 case Intrinsic
419 << (Callee->getIntrinsicID() == Intrinsic::stacksave ?
420 "save" : "restore") << " intrinsic.\n";
422 if (Callee->getIntrinsicID() == Intrinsic::stacksave)
427 case Intrinsic::returnaddress:
428 case Intrinsic::frameaddress:
430 << (Callee->getIntrinsicID() == Intrinsic::returnaddress ?
431 "return" : "frame") << "address intrinsic.\n";
436 case Intrinsic::prefetch:
439 case Intrinsic::pcmarker:
441 case Intrinsic::readcyclecounter: {
443 << "ter intrinsic. It is being lowered to a constant 0\n";
448 case Intrinsic::dbg_declare:
451 case Intrinsic::eh_typeid_for:
456 case Intrinsic::annotation:
457 case Intrinsic::ptr_annotation:
462 case Intrinsic::var_annotation:
463 break; // Strip out annotate intrinsic
465 case Intrinsic::memcpy: {
476 case Intrinsic::memmove: {
487 case Intrinsic::memset: {
501 case Intrinsic::sqrt: {
505 case Intrinsic::log: {
509 case Intrinsic::log2: {
513 case Intrinsic::log10: {
517 case Intrinsic::exp: {
521 case Intrinsic::exp2: {
525 case Intrinsic::pow: {
529 case Intrinsic::flt_rounds:
534 case Intrinsic::invariant_start:
535 case Intrinsic::lifetime_start:
539 case Intrinsic::invariant_end:
540 case Intrinsic::lifetime_end:
546 "Lowering should have eliminated any uses of the intrinsic call!");
563 Constant *Int = Intrinsic::getDeclaration(M, Intrinsic::bswap, Ty);