Home
last modified time | relevance | path

Searched refs:getLength (Results 1 – 25 of 89) sorted by relevance

1234

/minix/external/bsd/llvm/dist/clang/lib/Tooling/Core/
H A DReplacement.cpp74 Start, ReplacementRange.getLength(), ReplacementText); in apply()
90 if (LHS.getLength() != RHS.getLength()) in operator <()
91 return LHS.getLength() < RHS.getLength(); in operator <()
99 LHS.getLength() == RHS.getLength() && in operator ==()
152 if (I->getOffset() + I->getLength() > Position) in shiftedCodePosition()
169 if (I->getOffset() + I->getLength() > Position) in shiftedCodePosition()
184 if (LHS.getLength() != RHS.getLength()) in deduplicate()
185 return LHS.getLength() < RHS.getLength(); in deduplicate()
191 LHS.getLength() == RHS.getLength() && in deduplicate()
203 Replaces.front().getLength()); in deduplicate()
[all …]
/minix/external/bsd/llvm/dist/clang/unittests/Tooling/
H A DReplacementsYamlTest.cpp77 ASSERT_EQ(56u, DocActual.Replacements[0].getLength()); in TEST()
81 ASSERT_EQ(2u, DocActual.Replacements[1].getLength()); in TEST()
104 ASSERT_EQ(10u, DocActual.Replacements[0].getLength()); in TEST()
H A DRefactoringTest.cpp321 EXPECT_EQ(Length, Replace.getLength()); in expectReplacementAt()
435 ASSERT_EQ(3u, Conflicts.front().getLength()); in TEST()
461 ASSERT_EQ(4u, Conflicts[0].getLength()); in TEST()
463 ASSERT_EQ(2u, Conflicts[1].getLength()); in TEST()
/minix/external/bsd/llvm/dist/llvm/lib/DebugInfo/
H A DDWARFTypeUnit.cpp22 return TypeOffset < getLength(); in extractImpl()
27 << " length = " << format("0x%08x", getLength()) in dump()
H A DDWARFCompileUnit.cpp18 << " length = " << format("0x%08x", getLength()) in dump()
/minix/external/bsd/llvm/dist/clang/lib/Lex/
H A DTokenConcatenation.cpp52 if (Tok.getLength() < 1 || Tok.getLength() > 3) in IsIdentifierStringPrefix()
56 return IsStringPrefix(StringRef(Ptr, Tok.getLength()), in IsIdentifierStringPrefix()
60 if (Tok.getLength() < 256) { in IsIdentifierStringPrefix()
136 } else if (Tok.getLength() < 256) { in GetFirstChar()
166 if (PrevSpellLoc.getLocWithOffset(PrevTok.getLength()) == SpellLoc) in AvoidConcat()
H A DTokenLexer.cpp475 Tok.getLength()); in Lex()
540 Buffer.resize(Tok.getLength() + RHS.getLength()); in PasteTokens()
681 Tok.getLength())); in PasteTokens()
796 unsigned FullLength = LastRelOffs + LastConsecutiveTok.getLength(); in updateConsecutiveMacroArgTokens()
832 Tok.getLength())); in updateLocForMacroArgTokens()
H A DLiteralSupport.cpp1274 if (StringToks.empty() || StringToks[0].getLength() < 2) in init()
1282 MaxTokenLength = StringToks[0].getLength(); in init()
1283 assert(StringToks[0].getLength() >= 2 && "literal token is invalid!"); in init()
1284 SizeBound = StringToks[0].getLength()-2; // -2 for "". in init()
1292 if (StringToks[i].getLength() < 2) in init()
1297 assert(StringToks[i].getLength() >= 2 && "literal token is invalid!"); in init()
1298 SizeBound += StringToks[i].getLength()-2; // -2 for "". in init()
1301 if (StringToks[i].getLength() > MaxTokenLength) in init()
1302 MaxTokenLength = StringToks[i].getLength(); in init()
1612 SpellingBuffer.resize(Tok.getLength()); in getOffsetOfStringByte()
H A DMacroInfo.cpp60 DefinitionLength += lastToken.getLength(); in getDefinitionLengthSlow()
166 Out << StringRef(Tok.getLiteralData(), Tok.getLength()); in dump()
H A DMacroArgs.cpp236 Result.resize(CurStrLen+Tok.getLength()); in StringifyArgument()
248 if (ActualTokLen != Tok.getLength()) in StringifyArgument()
/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/
H A DReductionRules.h48 for (unsigned j = 0; j < YCosts.getLength(); ++j) { in applyR1()
50 for (unsigned i = 1; i < XCosts.getLength(); ++i) { in applyR1()
58 for (unsigned i = 0; i < YCosts.getLength(); ++i) { in applyR1()
60 for (unsigned j = 1; j < XCosts.getLength(); ++j) { in applyR1()
103 unsigned XLen = XCosts.getLength(), in applyR2()
H A DGraph.h416 assert(getNodeCosts(N1Id).getLength() == Costs.getRows() && in addEdge()
417 getNodeCosts(N2Id).getLength() == Costs.getCols() && in addEdge()
442 assert(getNodeCosts(N1Id).getLength() == Costs->getRows() && in addEdgeBypassingCostAllocator()
443 getNodeCosts(N2Id).getLength() == Costs->getCols() && in addEdgeBypassingCostAllocator()
683 OS << "\n" << V.getLength() << "\n"; in dumpToStream()
684 assert(V.getLength() != 0 && "Empty vector in graph."); in dumpToStream()
686 for (unsigned i = 1; i < V.getLength(); ++i) { in dumpToStream()
H A DMath.h95 unsigned getLength() const { in getLength() function
152 assert((V.getLength() != 0) && "Zero-length vector badness.");
155 for (unsigned i = 1; i < V.getLength(); ++i)
/minix/external/bsd/llvm/dist/clang/include/clang/Tooling/Core/
H A DReplacement.h43 unsigned getLength() const { return Length; } in getLength() function
106 unsigned getLength() const { return ReplacementRange.getLength(); } in getLength() function
/minix/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp133 Value *len = intr->getLength(); in runOnFunction()
145 Value *len = memsetintr->getLength(); in runOnFunction()
181 Value *len = cpy->getLength(); in runOnFunction()
193 Value *len = memsetinst->getLength(); in runOnFunction()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp231 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet()
418 !isa<ConstantInt>(MSI->getLength())) in INITIALIZE_PASS_DEPENDENCY()
569 if (isa<ConstantInt>(MSI->getLength()) && !MSI->isVolatile()) in processMemSet()
791 ConstantInt *MDepLen = dyn_cast<ConstantInt>(MDep->getLength()); in processMemCpyMemCpyDependence()
792 ConstantInt *MLen = dyn_cast<ConstantInt>(M->getLength()); in processMemCpyMemCpyDependence()
834 Builder.CreateMemMove(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
837 Builder.CreateMemCpy(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
869 Builder.CreateMemSet(M->getRawDest(), ByteVal, M->getLength(), in processMemCpy()
878 ConstantInt *CopySize = dyn_cast<ConstantInt>(M->getLength()); in processMemCpy()
948 M->getLength()->getType() }; in processMemMove()
[all …]
/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DSelectorLocationsKind.cpp31 unsigned Len = II ? II->getLength() : 0; in getStandardSelLoc()
39 unsigned Len = /* selector id */ (II ? II->getLength() : 0) + /* ':' */ 1; in getStandardSelLoc()
/minix/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/
H A DDWARFDebugLine.h67 uint32_t getLength() const { in getLength() function
73 return TotalLength + sizeof(TotalLength) - getLength(); in getStatementTableLength()
/minix/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DToken.h118 unsigned getLength() const { in getLength() function
191 return StringRef(reinterpret_cast<const char *>(PtrData), getLength()); in getRawIdentifier()
/minix/external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DFormatString.h95 unsigned getLength() const { in getLength() function
186 return StringRef(getStart(), getLength()); in getCharacters()
203 unsigned getLength() const { in getLength() function
405 unsigned getLength() const { in getLength() function
/minix/external/bsd/llvm/dist/clang/include/clang/Tooling/
H A DReplacementsYaml.h40 Length(R.getLength()), ReplacementText(R.getReplacementText()) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
/minix/external/bsd/llvm/dist/clang/test/Index/
H A Drecursive-cxx-member-calls.cpp72 unsigned getLength() const { in getLength() function in clang::IdentifierInfo
78 return llvm::StringRef(getNameStart(), getLength()); in getName()
/minix/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp295 DirectiveToken.getLength(), in CommentOutDirective()
514 RawToken.getLength(), in Process()
522 RawToken.getLength(), in Process()
541 RawToken.getLength(), in Process()
/minix/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DIdentifierTable.h90 return getLength() == StrLen-1 && !memcmp(getNameStart(), Str, StrLen-1); in isStr()
109 unsigned getLength() const { in getLength() function
123 return StringRef(getNameStart(), getLength()); in getName()
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DIntrinsicInst.h139 Value *getLength() const { return const_cast<Value*>(getArgOperand(2)); } in getLength() function
176 assert(getLength()->getType() == L->getType() && in setLength()

1234