Searched refs:NewLength (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidy.cpp | 160 unsigned NewLength = Replacements.getShiftedCodePosition( in reportDiagnostic() local 163 if (NewLength == R.getLength()) { in reportDiagnostic() 164 R = Replacement(R.getFilePath(), NewOffset, NewLength, in reportDiagnostic()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | DeadStoreElimination.cpp | 937 int64_t NewLength = IsOverwriteEnd in tryToShorten() local 945 if (0 != NewLength % ElementSize) in tryToShorten() 956 ConstantInt::get(EarlierWriteLength->getType(), NewLength); in tryToShorten() 959 EarlierSize = NewLength; in tryToShorten()
|
/external/llvm-project/clang-tools-extra/clang-change-namespace/ |
D | ChangeNamespace.cpp | 979 const unsigned NewLength = in onEndOfTranslationUnit() local 982 tooling::Replacement Deletion(FilePath, NewOffset, NewLength, ""); in onEndOfTranslationUnit() 983 std::string MovedCode = ChangedCode->substr(NewOffset, NewLength); in onEndOfTranslationUnit()
|
/external/llvm/lib/Transforms/Scalar/ |
D | DeadStoreElimination.cpp | 973 int64_t NewLength = in eliminateDeadStores() local 980 ConstantInt::get(DepWriteLength->getType(), NewLength); in eliminateDeadStores()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | NotNullTerminatedResultCheck.cpp | 311 size_t NewLength = LengthIL->getValue().getZExtValue() + in lengthExprHandle() local 318 (Twine(NewLength) + (isInjectUL(Result) ? "UL" : "")).str()); in lengthExprHandle()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | DeadStoreElimination.cpp | 1091 int64_t NewLength = IsOverwriteEnd in tryToShorten() local 1099 if (0 != NewLength % ElementSize) in tryToShorten() 1110 ConstantInt::get(EarlierWriteLength->getType(), NewLength); in tryToShorten() 1113 EarlierSize = NewLength; in tryToShorten()
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 299 unsigned NewLength) { in truncate() 304 assert(NewLength <= Entries.size() && "not a truncation"); in truncate() 306 if (NewLength == Entries.size()) in truncate() 308 Entries.resize(NewLength); in truncate()
|