/external/clang/lib/Edit/ |
D | Commit.cpp | 48 FileOffset Offs; in insert() local 49 if ((!afterToken && !canInsert(loc, Offs)) || in insert() 50 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { in insert() 55 addInsert(loc, Offs, text, beforePreviousInsertions); in insert() 69 FileOffset Offs; in insertFromRange() local 70 if ((!afterToken && !canInsert(loc, Offs)) || in insertFromRange() 71 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { in insertFromRange() 82 addInsertFromRange(loc, Offs, RangeOffs, RangeLen, beforePreviousInsertions); in insertFromRange() 87 FileOffset Offs; in remove() local 89 if (!canRemoveRange(range, Offs, Len)) { in remove() [all …]
|
D | EditedSource.cpp | 31 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 32 FileEditsTy::iterator FA = getActionForOffset(Offs); in canInsertInOffset() 34 if (FA->first != Offs) in canInsertInOffset() 54 FileOffset Offs, StringRef text, in commitInsert() argument 56 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert() 69 FileEdit &FA = FileEdits[Offs]; in commitInsert() 86 FileOffset Offs, in commitInsertFromRange() argument 140 return commitInsert(OrigLoc, Offs, StrVec.str(), beforePreviousInsertions); in commitInsertFromRange() 388 EditedSource::getActionForOffset(FileOffset Offs) { in getActionForOffset() argument 389 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset() [all …]
|
/external/clang/include/clang/Edit/ |
D | FileOffset.h | 21 unsigned Offs; variable 23 FileOffset() : Offs(0) { } in FileOffset() 24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { } in FileOffset() 29 unsigned getOffset() const { return Offs; } in getOffset() 33 NewOffs.Offs += offset; in getWithOffset() 38 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs; 46 return LHS.Offs < RHS.Offs; 51 return LHS.Offs > RHS.Offs;
|
D | Commit.h | 115 FileOffset Offs, StringRef text, bool beforePreviousInsertions); 116 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 119 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len); 124 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 125 bool canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len); 127 FileOffset &Offs, unsigned &Len);
|
D | EditedSource.h | 58 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 73 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, 75 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 82 FileEditsTy::iterator getActionForOffset(FileOffset Offs);
|
/external/clang/include/clang/Basic/ |
D | SourceManagerInternals.h | 49 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get() 53 E.FileOffset = Offs; in get()
|
D | SourceManager.h | 1329 unsigned Offs = Loc.getOffset(); 1330 if (isOffsetInFileID(FID, Offs)) { 1332 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
|
/external/libvpx/libvpx/vp8/common/ppc/ |
D | loopfilter_filters_altivec.asm | 840 .macro hread_uv Dest, U, V, Offs, VMask 841 lvx \U, \Offs, r3 842 lvx \V, \Offs, r4 846 .macro hwrite_uv New, U, V, Offs, Umask, Vmask 849 stvx \U, \Offs, r3 ;# Write to frame buffer 850 stvx \V, \Offs, r4 1139 .macro RLV Offs argument 1140 stw r0, (\Offs*4)(r5) 1144 .macro WLV Offs argument 1145 lwz r0, (\Offs*4)(r5)
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1233 unsigned Offs = 0; in ComputeLineNumbers() local 1274 Offs += NextBuf-Buf; in ComputeLineNumbers() 1280 ++Offs, ++Buf; in ComputeLineNumbers() 1281 ++Offs, ++Buf; in ComputeLineNumbers() 1282 LineOffsets.push_back(Offs); in ComputeLineNumbers() 1287 ++Offs, ++Buf; in ComputeLineNumbers()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 2761 unsigned Offs; in mapLocationFromPreamble() local 2762 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble.size()) { in mapLocationFromPreamble() 2765 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() 2782 unsigned Offs; in mapLocationToPreamble() local 2783 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2784 Offs < Preamble.size()) { in mapLocationToPreamble() 2786 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1370 if (unsigned Offs = ArgI.getDirectOffset()) { in EmitFunctionProlog() local 1372 Ptr = Builder.CreateConstGEP1_32(Ptr, Offs); in EmitFunctionProlog() 1727 if (unsigned Offs = RetAI.getDirectOffset()) { in EmitFunctionEpilog() local 1729 V = Builder.CreateConstGEP1_32(V, Offs); in EmitFunctionEpilog() 2404 if (unsigned Offs = ArgInfo.getDirectOffset()) { in EmitCall() local 2406 SrcPtr = Builder.CreateConstGEP1_32(SrcPtr, Offs); in EmitCall() 2606 if (unsigned Offs = RetAI.getDirectOffset()) { in EmitCall() local 2608 StorePtr = Builder.CreateConstGEP1_32(StorePtr, Offs); in EmitCall()
|
D | MicrosoftCXXABI.cpp | 396 uint64_t Offs = (I->VBPtrSubobject.getBaseOffset() + in EmitVBPtrStores() local 399 CGF.Builder.CreateConstInBoundsGEP1_64(ThisInt8Ptr, Offs); in EmitVBPtrStores()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 403 unsigned Align = 0, int Offs = 0, bool isT=false, 411 unsigned Align = 0, int Offs = 0, bool isT=false,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 447 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in FoldCmpLoadFromIndexedGlobal() local 448 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal() 461 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in FoldCmpLoadFromIndexedGlobal() local 462 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1969 int64_t Offs = GA->getOffset(); in LowerAsmOperandForConstraint() local 1970 if (C) Offs += C->getZExtValue(); in LowerAsmOperandForConstraint() 1973 Op.getValueType(), Offs)); in LowerAsmOperandForConstraint()
|
D | SelectionDAGBuilder.cpp | 3179 uint64_t Offs = in visitGetElementPtr() local 3187 DAG.getConstant(Offs, MVT::i64)); in visitGetElementPtr() 3189 OffsVal = DAG.getIntPtrConstant(Offs); in visitGetElementPtr()
|