/minix/external/bsd/llvm/dist/clang/lib/Tooling/Core/ |
H A D | Replacement.cpp | 74 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 D | ReplacementsYamlTest.cpp | 77 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 D | RefactoringTest.cpp | 321 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 D | DWARFTypeUnit.cpp | 22 return TypeOffset < getLength(); in extractImpl() 27 << " length = " << format("0x%08x", getLength()) in dump()
|
H A D | DWARFCompileUnit.cpp | 18 << " length = " << format("0x%08x", getLength()) in dump()
|
/minix/external/bsd/llvm/dist/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 52 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 D | TokenLexer.cpp | 475 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 D | LiteralSupport.cpp | 1274 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 D | MacroInfo.cpp | 60 DefinitionLength += lastToken.getLength(); in getDefinitionLengthSlow() 166 Out << StringRef(Tok.getLiteralData(), Tok.getLength()); in dump()
|
H A D | MacroArgs.cpp | 236 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 D | ReductionRules.h | 48 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 D | Graph.h | 416 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 D | Math.h | 95 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 D | Replacement.h | 43 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 D | NVPTXLowerAggrCopies.cpp | 133 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 D | MemCpyOptimizer.cpp | 231 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 D | SelectorLocationsKind.cpp | 31 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 D | DWARFDebugLine.h | 67 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 D | Token.h | 118 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 D | FormatString.h | 95 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 D | ReplacementsYaml.h | 40 Length(R.getLength()), ReplacementText(R.getReplacementText()) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/minix/external/bsd/llvm/dist/clang/test/Index/ |
H A D | recursive-cxx-member-calls.cpp | 72 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 D | InclusionRewriter.cpp | 295 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 D | IdentifierTable.h | 90 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 D | IntrinsicInst.h | 139 Value *getLength() const { return const_cast<Value*>(getArgOperand(2)); } in getLength() function 176 assert(getLength()->getType() == L->getType() && in setLength()
|