reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Utils/SimplifyLibCalls.cpp
 2683   optimizeErrorReporting(CI, B, 3);
 2686   ConstantInt *SizeC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
 2687   ConstantInt *CountC = dyn_cast<ConstantInt>(CI->getArgOperand(2));
 2693       return ConstantInt::get(CI->getType(), 0);
 2697     if (Bytes == 1 && CI->use_empty()) { // fwrite(S,1,1,F) -> fputc(S[0],F)
 2699                                  castToCStr(CI->getArgOperand(0), B), "char");
 2700       Value *NewCI = emitFPutC(Char, CI->getArgOperand(3), B, TLI);
 2701       return NewCI ? ConstantInt::get(CI->getType(), 1) : nullptr;
 2705   if (isLocallyOpenedFile(CI->getArgOperand(3), CI, B, TLI))
 2705   if (isLocallyOpenedFile(CI->getArgOperand(3), CI, B, TLI))
 2706     return emitFWriteUnlocked(CI->getArgOperand(0), CI->getArgOperand(1),
 2706     return emitFWriteUnlocked(CI->getArgOperand(0), CI->getArgOperand(1),
 2707                               CI->getArgOperand(2), CI->getArgOperand(3), B, DL,
 2707                               CI->getArgOperand(2), CI->getArgOperand(3), B, DL,