reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2512 ConstantInt *Size = dyn_cast<ConstantInt>(CI->getArgOperand(1)); 2519 if (!getConstantStringInfo(CI->getArgOperand(2), FormatStr)) 2523 if (CI->getNumArgOperands() == 3) { 2530 return ConstantInt::get(CI->getType(), FormatStr.size()); 2537 CI->getArgOperand(0), 1, CI->getArgOperand(2), 1, 2537 CI->getArgOperand(0), 1, CI->getArgOperand(2), 1, 2538 ConstantInt::get(DL.getIntPtrType(CI->getContext()), 2540 return ConstantInt::get(CI->getType(), FormatStr.size()); 2546 CI->getNumArgOperands() == 4) { 2551 return ConstantInt::get(CI->getType(), 1); 2556 if (!CI->getArgOperand(3)->getType()->isIntegerTy()) 2558 Value *V = B.CreateTrunc(CI->getArgOperand(3), B.getInt8Ty(), "char"); 2559 Value *Ptr = castToCStr(CI->getArgOperand(0), B); 2564 return ConstantInt::get(CI->getType(), 1); 2570 if (!getConstantStringInfo(CI->getArgOperand(3), Str)) 2574 return ConstantInt::get(CI->getType(), Str.size()); 2578 B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(3), 1, 2578 B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(3), 1, 2579 ConstantInt::get(CI->getType(), Str.size() + 1)); 2582 return ConstantInt::get(CI->getType(), Str.size());