Home
last modified time | relevance | path

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

12345

/NextBSD/contrib/llvm/tools/clang/lib/Tooling/Core/
HDReplacement.cpp75 Start, ReplacementRange.getLength(), ReplacementText); in apply()
84 << ReplacementRange.getLength() << ":\"" << ReplacementText << "\""; in toString()
95 if (LHS.getLength() != RHS.getLength()) in operator <()
96 return LHS.getLength() > RHS.getLength(); in operator <()
105 LHS.getLength() == RHS.getLength() && in operator ==()
160 if (I->getOffset() + I->getLength() > Position) in shiftedCodePosition()
161 NewPosition += I->getOffset() + I->getLength() - Position; in shiftedCodePosition()
162 NewPosition += I->getReplacementText().size() - I->getLength(); in shiftedCodePosition()
177 if (I->getOffset() + I->getLength() > Position) in shiftedCodePosition()
178 NewPosition += I->getOffset() + I->getLength() - Position; in shiftedCodePosition()
[all …]
/NextBSD/contrib/llvm/include/llvm/CodeGen/PBQP/
HDReductionRules.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()
151 unsigned VL = V.getLength(); in hasRegisterOptions()
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDTokenConcatenation.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()
HDLiteralSupport.cpp1268 if (StringToks.empty() || StringToks[0].getLength() < 2) in init()
1276 MaxTokenLength = StringToks[0].getLength(); in init()
1277 assert(StringToks[0].getLength() >= 2 && "literal token is invalid!"); in init()
1278 SizeBound = StringToks[0].getLength()-2; // -2 for "". in init()
1286 if (StringToks[i].getLength() < 2) in init()
1291 assert(StringToks[i].getLength() >= 2 && "literal token is invalid!"); in init()
1292 SizeBound += StringToks[i].getLength()-2; // -2 for "". in init()
1295 if (StringToks[i].getLength() > MaxTokenLength) in init()
1296 MaxTokenLength = StringToks[i].getLength(); in init()
1606 SpellingBuffer.resize(Tok.getLength()); in getOffsetOfStringByte()
HDTokenLexer.cpp475 Tok.getLength()); in Lex()
547 Buffer.resize(Tok.getLength() + RHS.getLength()); in PasteTokens()
688 Tok.getLength())); in PasteTokens()
803 unsigned FullLength = LastRelOffs + LastConsecutiveTok.getLength(); in updateConsecutiveMacroArgTokens()
839 Tok.getLength())); in updateLocForMacroArgTokens()
/NextBSD/contrib/llvm/tools/llvm-pdbdump/
HDBuiltinDumper.cpp25 if (Symbol.getLength() == 4) in start()
32 if (Symbol.getLength() == 8) in start()
36 if (Symbol.getLength() == 4) in start()
HDCompilandDumper.cpp88 if (Symbol.getLength() == 0) in dump()
125 << format_hex(VA + Symbol.getLength(), 10) << "]"; in dump()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDMemCpyOptimizer.cpp231 int64_t Size = cast<ConstantInt>(MSI->getLength())->getZExtValue(); in addMemSet()
417 !isa<ConstantInt>(MSI->getLength())) in INITIALIZE_PASS_DEPENDENCY()
567 if (isa<ConstantInt>(MSI->getLength()) && !MSI->isVolatile()) in processMemSet()
786 ConstantInt *MDepLen = dyn_cast<ConstantInt>(MDep->getLength()); in processMemCpyMemCpyDependence()
787 ConstantInt *MLen = dyn_cast<ConstantInt>(M->getLength()); in processMemCpyMemCpyDependence()
829 Builder.CreateMemMove(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
832 Builder.CreateMemCpy(M->getRawDest(), MDep->getRawSource(), M->getLength(), in processMemCpyMemCpyDependence()
870 Value *DestSize = MemSet->getLength(); in processMemSetMemCpyDependence()
871 Value *SrcSize = MemCpy->getLength(); in processMemSetMemCpyDependence()
926 ConstantInt *CopySize = cast<ConstantInt>(MemCpy->getLength()); in performMemCpyToMemSetOptzn()
[all …]
/NextBSD/contrib/llvm/lib/DebugInfo/DWARF/
HDDWARFTypeUnit.cpp22 return TypeOffset < getLength(); in extractImpl()
27 << " length = " << format("0x%08x", getLength()) in dump()
HDDWARFCompileUnit.cpp18 << " length = " << format("0x%08x", getLength()) in dump()
/NextBSD/contrib/llvm/tools/clang/include/clang/Tooling/Core/
HDReplacement.h44 unsigned getLength() const { return Length; } in getLength() function
109 unsigned getLength() const { return ReplacementRange.getLength(); } in getLength() function
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXLowerAggrCopies.cpp158 Value *len = intr->getLength(); in runOnFunction()
170 Value *len = memsetintr->getLength(); in runOnFunction()
207 /* len */ cpy->getLength(), in runOnFunction()
216 Value *len = memsetinst->getLength(); in runOnFunction()
/NextBSD/contrib/llvm/tools/clang/include/clang/Lex/
HDToken.h127 unsigned getLength() const { in getLength() function
153 : getLocation().getLocWithOffset(getLength()); in getEndLoc()
205 return StringRef(reinterpret_cast<const char *>(PtrData), getLength()); in getRawIdentifier()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDSelectorLocationsKind.cpp31 unsigned Len = II ? II->getLength() : 0; in getStandardSelLoc()
39 unsigned Len = /* selector id */ (II ? II->getLength() : 0) + /* ':' */ 1; in getStandardSelLoc()
/NextBSD/contrib/llvm/lib/DebugInfo/PDB/
HDPDBContext.cpp55 Length = Func->getLength(); in getLineInfoForAddress()
57 Length = Data->getLength(); in getLineInfoForAddress()
/NextBSD/contrib/llvm/include/llvm/DebugInfo/DWARF/
HDDWARFDebugLine.h75 uint32_t getLength() const { in getLength() function
81 return TotalLength + sizeofTotalLength() - getLength(); in getStatementTableLength()
/NextBSD/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
HDFormatString.h96 unsigned getLength() const { in getLength() function
193 return StringRef(getStart(), getLength()); in getCharacters()
210 unsigned getLength() const { in getLength() function
416 unsigned getLength() const { in getLength() function
/NextBSD/contrib/llvm/lib/Analysis/
HDMemoryLocation.cpp69 if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength())) in getForSource()
82 if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength())) in getForDest()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDInclusionRewriter.cpp311 DirectiveToken.getLength(), in CommentOutDirective()
528 RawToken.getLength(), in Process()
536 RawToken.getLength(), in Process()
555 RawToken.getLength(), in Process()
/NextBSD/contrib/llvm/include/llvm/DebugInfo/PDB/
HDPDBSymbolTypeBuiltin.h31 FORWARD_SYMBOL_METHOD(getLength)
HDPDBSymbolBlock.h31 FORWARD_SYMBOL_METHOD(getLength)
HDPDBSymbolTypePointer.h32 FORWARD_SYMBOL_METHOD(getLength)
HDIPDBLineNumber.h29 virtual uint32_t getLength() const = 0;
HDPDBSymbolTypeArray.h34 FORWARD_SYMBOL_METHOD(getLength)
HDPDBSymbolPublicSymbol.h33 FORWARD_SYMBOL_METHOD(getLength)

12345