Home
last modified time | relevance | path

Searched refs:InsertOffset (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DAnnotateHighlightings.cpp66 auto InsertOffset = positionToOffset(Inputs.Code, Token.R.start); in REGISTER_TWEAK() local
67 if (!InsertOffset) in REGISTER_TWEAK()
68 return InsertOffset.takeError(); in REGISTER_TWEAK()
71 FilePath, *InsertOffset, 0, in REGISTER_TWEAK()
/external/llvm-project/clang/lib/Tooling/Inclusions/
DHeaderIncludes.cpp361 unsigned InsertOffset = CatOffset->second; // Fall back offset in insert() local
366 InsertOffset = Inc->R.getOffset(); in insert()
371 assert(InsertOffset <= Code.size()); in insert()
378 if (InsertOffset == Code.size() && (!Code.empty() && Code.back() != '\n')) in insert()
380 return tooling::Replacement(FileName, InsertOffset, 0, NewInclude); in insert()
/external/llvm/utils/FileCheck/
DFileCheck.cpp428 unsigned InsertOffset = 0; in Match() local
447 TmpStr.insert(TmpStr.begin() + VariableUse.second + InsertOffset, in Match()
449 InsertOffset += Value.size(); in Match()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheck.cpp631 size_t InsertOffset = 0; in match() local
642 TmpStr.insert(TmpStr.begin() + Substitution->getIndex() + InsertOffset, in match()
644 InsertOffset += Value->size(); in match()
/external/llvm-project/llvm/lib/FileCheck/
DFileCheck.cpp1210 size_t InsertOffset = 0; in match() local
1231 TmpStr.insert(TmpStr.begin() + Substitution->getIndex() + InsertOffset, in match()
1233 InsertOffset += Value->size(); in match()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp3601 int64_t ExtractOffset, InsertOffset; in narrowScalarInsert() local
3604 InsertOffset = 0; in narrowScalarInsert()
3608 InsertOffset = OpStart - DstStart; in narrowScalarInsert()
3611 std::min(NarrowSize - InsertOffset, OpStart + OpSize - DstStart); in narrowScalarInsert()
3622 MIRBuilder.buildInsert(DstReg, SrcRegs[i], SegReg, InsertOffset); in narrowScalarInsert()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp4589 int64_t ExtractOffset, InsertOffset; in narrowScalarInsert() local
4592 InsertOffset = 0; in narrowScalarInsert()
4596 InsertOffset = OpStart - DstStart; in narrowScalarInsert()
4599 std::min(NarrowSize - InsertOffset, OpStart + OpSize - DstStart); in narrowScalarInsert()
4610 MIRBuilder.buildInsert(DstReg, SrcRegs[i], SegReg, InsertOffset); in narrowScalarInsert()