| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | NativeFormatting.cpp | 26 char *EndPtr = std::end(Buffer); in format_to_buffer() local 27 char *CurPtr = EndPtr; in format_to_buffer() 33 return EndPtr - CurPtr; in format_to_buffer() 153 char *EndPtr = NumberBuffer + NumChars; in write_hex() local 154 char *CurPtr = EndPtr; in write_hex()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCtorDtorLowering.cpp | 113 auto *EndPtr = IRB.CreatePtrToInt(End, Int64Ty); in createInitOrFiniCalls() local 115 auto *ByteSize = IRB.CreateSub(EndPtr, BeginPtr, "", /*HasNUW=*/true, in createInitOrFiniCalls()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DecoderEmitter.cpp | 880 const uint8_t *const EndPtr = Table.data() + Table.size(); in emitTable() local 910 unsigned Start = decodeULEB128(&*I, nullptr, EndPtr, &ErrMsg); in emitTable() 975 unsigned Opc = decodeULEB128(&*I, nullptr, EndPtr, &ErrMsg); in emitTable() 983 unsigned DecodeIdx = decodeULEB128(&*I, nullptr, EndPtr, &ErrMsg); in emitTable() 1011 uint64_t PositiveMask = decodeULEB128(&*I, nullptr, EndPtr, &ErrMsg); in emitTable() 1016 uint64_t NegativeMask = decodeULEB128(&*I, nullptr, EndPtr, &ErrMsg); in emitTable()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SimplifyLibCalls.cpp | 140 static Value *convertStrToInt(CallInst *CI, StringRef &Str, Value *EndPtr, in convertStrToInt() argument 227 if (EndPtr) { in convertStrToInt() 232 B.CreateStore(StrEnd, EndPtr); in convertStrToInt() 820 Value *EndPtr = B.CreateInBoundsGEP(B.getInt8Ty(), Dst, EndOff); in optimizeStrLCpy() local 821 B.CreateStore(B.getInt8(0), EndPtr); in optimizeStrLCpy() 868 Value *EndPtr = B.CreateInBoundsGEP(CharTy, Dst, Off1, "stpncpy.end"); in optimizeStringNCpy() local 869 return B.CreateSelect(Cmp, Dst, EndPtr, "stpncpy.sel"); in optimizeStringNCpy() 1095 Value *EndPtr = CI->getArgOperand(1); in optimizeStrTo() local 1096 if (isa<ConstantPointerNull>(EndPtr)) { in optimizeStrTo() 3211 Value *EndPtr = CI->getArgOperand(1); in optimizeStrToInt() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCAsmStreamer.cpp | 1155 const auto BeginPtr = Data.begin(), EndPtr = Data.end(); in isPrintableString() local 1156 for (const unsigned char C : make_range(BeginPtr, EndPtr - 1)) { in isPrintableString() 1185 const auto BeginPtr = Data.begin(), EndPtr = Data.end(); in PrintByteList() local 1186 for (const unsigned char C : make_range(BeginPtr, EndPtr - 1)) { in PrintByteList() 1190 printOneCharacter(*(EndPtr - 1)); in PrintByteList()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Diagnostic.cpp | 881 const char *EndPtr = ScanFormat(Argument, ArgumentEnd, '|'); in HandleSelectModifier() local 884 DInfo.FormatDiagnostic(Argument, EndPtr, OutStr); in HandleSelectModifier()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 1264 llvm::Value *EndPtr = Builder.CreateInBoundsGEP( in EmitNewArrayInitializer() local 1272 EndPtr, "array.isempty"); in EmitNewArrayInitializer() 1314 llvm::Value *IsEnd = Builder.CreateICmpEQ(NextPtr, EndPtr, "array.atend"); in EmitNewArrayInitializer()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86AsmParser.cpp | 2261 const char *EndPtr = Tok.getLoc().getPointer() + LineBuf.size(); in ParseIntelInlineAsmIdentifier() local 2265 } while (End.getPointer() < EndPtr); in ParseIntelInlineAsmIdentifier() 2270 assert((End.getPointer() == EndPtr || in ParseIntelInlineAsmIdentifier()
|