Home
last modified time | relevance | path

Searched refs:Offs (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/Edit/
DCommit.cpp48 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 …]
DEditedSource.cpp31 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()
84 FileOffset Offs, in commitInsertFromRange() argument
138 return commitInsert(OrigLoc, Offs, StrVec.str(), beforePreviousInsertions); in commitInsertFromRange()
386 EditedSource::getActionForOffset(FileOffset Offs) { in getActionForOffset() argument
387 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset()
[all …]
/external/clang/include/clang/Edit/
DFileOffset.h21 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;
44 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs);
DCommit.h115 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);
DEditedSource.h58 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/
DSourceManagerInternals.h49 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get()
53 E.FileOffset = Offs; in get()
DSourceManager.h1340 unsigned Offs = Loc.getOffset();
1341 if (isOffsetInFileID(FID, Offs)) {
1343 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ppc/
Dloopfilter_filters_altivec.asm840 .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/libvpx/libvpx/vp8/common/ppc/
Dloopfilter_filters_altivec.asm840 .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/
DSourceManager.cpp1216 unsigned Offs = 0; in ComputeLineNumbers() local
1257 Offs += NextBuf-Buf; in ComputeLineNumbers()
1263 ++Offs, ++Buf; in ComputeLineNumbers()
1264 ++Offs, ++Buf; in ComputeLineNumbers()
1265 LineOffsets.push_back(Offs); in ComputeLineNumbers()
1270 ++Offs, ++Buf; in ComputeLineNumbers()
/external/clang/lib/Frontend/
DASTUnit.cpp2700 unsigned Offs; in mapLocationFromPreamble() local
2701 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble.size()) { in mapLocationFromPreamble()
2704 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble()
2721 unsigned Offs; in mapLocationToPreamble() local
2722 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble()
2723 Offs < Preamble.size()) { in mapLocationToPreamble()
2725 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
/external/clang/lib/CodeGen/
DCGCall.cpp1516 if (unsigned Offs = ArgI.getDirectOffset()) { in EmitFunctionProlog() local
1518 Ptr = Builder.CreateConstGEP1_32(Ptr, Offs); in EmitFunctionProlog()
1912 if (unsigned Offs = RetAI.getDirectOffset()) { in EmitFunctionEpilog() local
1914 V = Builder.CreateConstGEP1_32(V, Offs); in EmitFunctionEpilog()
2793 if (unsigned Offs = ArgInfo.getDirectOffset()) { in EmitCall() local
2795 SrcPtr = Builder.CreateConstGEP1_32(SrcPtr, Offs); in EmitCall()
3045 if (unsigned Offs = RetAI.getDirectOffset()) { in EmitCall() local
3047 StorePtr = Builder.CreateConstGEP1_32(StorePtr, Offs); in EmitCall()
DMicrosoftCXXABI.cpp900 CharUnits Offs = VBT->NonVirtualOffset; in EmitVBPtrStores() local
901 Offs += SubobjectLayout.getVBPtrOffset(); in EmitVBPtrStores()
903 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in EmitVBPtrStores()
905 CGF.Builder.CreateConstInBoundsGEP1_64(ThisInt8Ptr, Offs.getQuantity()); in EmitVBPtrStores()
1899 CharUnits Offs = CharUnits::Zero(); in EmitFullMemberPointer() local
1901 Offs = getContext().getASTRecordLayout(RD).getVBPtrOffset(); in EmitFullMemberPointer()
1902 fields.push_back(llvm::ConstantInt::get(CGM.IntTy, Offs.getQuantity())); in EmitFullMemberPointer()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h448 unsigned Align = 0, int Offs = 0, bool isT=false,
456 unsigned Align = 0, int Offs = 0, bool isT=false,
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp444 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in FoldCmpLoadFromIndexedGlobal() local
445 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal()
458 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in FoldCmpLoadFromIndexedGlobal() local
459 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp2142 int64_t Offs = GA->getOffset(); in LowerAsmOperandForConstraint() local
2143 if (C) Offs += C->getZExtValue(); in LowerAsmOperandForConstraint()
2146 Op.getValueType(), Offs)); in LowerAsmOperandForConstraint()
DSelectionDAGBuilder.cpp3359 uint64_t Offs = in visitGetElementPtr() local
3366 DAG.getConstant(Offs, MVT::i64)); in visitGetElementPtr()
3368 OffsVal = DAG.getConstant(Offs, PTy); in visitGetElementPtr()