Home
last modified time | relevance | path

Searched refs:Piece (Results 1 – 10 of 10) sorted by relevance

/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h378 uint32_t Piece = Read(NumBits); in ReadVBR() local
379 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR()
380 return Piece; in ReadVBR()
385 Result |= (Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR()
387 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR()
391 Piece = Read(NumBits); in ReadVBR()
398 uint32_t Piece = Read(NumBits); in ReadVBR64() local
399 if ((Piece & (1U << (NumBits-1))) == 0) in ReadVBR64()
400 return uint64_t(Piece); in ReadVBR64()
405 Result |= uint64_t(Piece & ((1U << (NumBits-1))-1)) << NextBit; in ReadVBR64()
[all …]
/external/clang/lib/Sema/
DSemaStmtAsm.cpp68 const GCCAsmStmt::AsmStringPiece &Piece = AsmStrPieces[p]; in isOperandMentioned() local
69 if (!Piece.isOperand()) continue; in isOperandMentioned()
73 if (Piece.getOperandNo() == OpNo) in isOperandMentioned()
325 GCCAsmStmt::AsmStringPiece &Piece = Pieces[i]; in ActOnGCCAsmStmt() local
326 if (!Piece.isOperand()) continue; in ActOnGCCAsmStmt()
329 unsigned ConstraintIdx = Piece.getOperandNo(); in ActOnGCCAsmStmt()
356 Literal->getString(), Piece.getModifier(), Size, in ActOnGCCAsmStmt()
362 auto B = Diag(Piece.getRange().getBegin(), in ActOnGCCAsmStmt()
365 SuggestedModifier = "%" + SuggestedModifier + Piece.getString(); in ActOnGCCAsmStmt()
366 B.AddFixItHint(FixItHint::CreateReplacement(Piece.getRange(), in ActOnGCCAsmStmt()
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp70 PathDiagnosticPiece *Piece = I->get(); in flattenTo() local
72 switch (Piece->getKind()) { in flattenTo()
74 PathDiagnosticCallPiece *Call = cast<PathDiagnosticCallPiece>(Piece); in flattenTo()
87 PathDiagnosticMacroPiece *Macro = cast<PathDiagnosticMacroPiece>(Piece); in flattenTo()
91 Current.push_back(Piece); in flattenTo()
101 Current.push_back(Piece); in flattenTo()
DBugReporter.cpp515 PathDiagnosticPiece *Piece = V->VisitNode(N, Pred, PDB, *R); in GenerateVisitorsOnlyPathDiagnostic() local
516 delete Piece; in GenerateVisitorsOnlyPathDiagnostic()
1969 PathDiagnosticControlFlowPiece *Piece = in addContextEdges() local
1972 if (!Piece) in addContextEdges()
1975 PathDiagnosticLocation SrcLoc = Piece->getStartLocation(); in addContextEdges()
1991 const Stmt *Dst = getLocStmt(Piece->getEndLocation()); in addContextEdges()
2006 Piece->setStartLocation(DstContext); in addContextEdges()
2028 Piece = new PathDiagnosticControlFlowPiece(SrcLoc, DstContext); in addContextEdges()
2029 I = pieces.insert(I, Piece); in addContextEdges()
3136 if (std::unique_ptr<PathDiagnosticPiece> Piece = in generatePathDiagnostic() local
[all …]
/external/llvm/test/DebugInfo/X86/
Dsroasplit-1.ll27 ; Read Var and Piece:
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp1136 DIExpression Piece = I->first->getDebugExpression(); in beginFunction() local
1139 return !piecesOverlap(Piece, Pred.first->getDebugExpression()); in beginFunction()
1526 for (auto Piece : Values) { in finalize() local
1527 DIExpression Expr = Piece.getExpression(); in finalize()
1541 emitDebugLocValue(AP, TypeIdentifierMap, Streamer, Piece, PieceOffset); in finalize()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp4153 struct Piece { in splitAlloca() struct
4157 Piece(AllocaInst *AI, uint64_t O, uint64_t S) in splitAlloca() argument
4160 SmallVector<Piece, 4> Pieces; in splitAlloca()
4171 Pieces.push_back(Piece(NewAI, P.beginOffset() * SizeOfByte, Size)); in splitAlloca()
4189 for (auto Piece : Pieces) { in splitAlloca() local
4197 uint64_t Start = Offset + Piece.Offset; in splitAlloca()
4198 uint64_t Size = Piece.Size; in splitAlloca()
4210 if (DbgDeclareInst *OldDDI = FindAllocaDbgDeclare(Piece.Alloca)) in splitAlloca()
4213 DIB.insertDeclare(Piece.Alloca, Var, PieceExpr, DbgDecl->getDebugLoc(), in splitAlloca()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1602 Constant *Piece = ConstantExpr::getLShr(C, ConstantInt::get(C->getType(), in CollectInsertionElements() local
1604 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in CollectInsertionElements()
1605 if (!CollectInsertionElements(Piece, ShiftI, Elements, VecEltTy, in CollectInsertionElements()
/external/clang/docs/
DClangFormatStyleOptions.rst88 Disabling Formatting on a Piece of Code
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp24042 for (StringRef Piece : Pieces) { in matchAsm() local
24043 if (!S.startswith(Piece)) // Check if the piece matches. in matchAsm()
24046 S = S.substr(Piece.size()); in matchAsm()