/external/clang/include/clang/Edit/ |
H A D | FileOffset.h | 21 unsigned Offs; member in class:clang::edit::FileOffset 23 FileOffset() : Offs(0) { } 24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { } 29 unsigned getOffset() const { return Offs; } 33 NewOffs.Offs += offset; 38 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs; 46 return LHS.Offs < RHS.Offs; 51 return LHS.Offs > RH [all...] |
H A D | EditedSource.h | 56 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 71 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, 73 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 80 FileEditsTy::iterator getActionForOffset(FileOffset Offs);
|
H A D | Commit.h | 112 FileOffset Offs, StringRef text, bool beforePreviousInsertions); 113 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 116 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len); 121 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 122 bool canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len); 124 FileOffset &Offs, unsigned &Len);
|
/external/clang/lib/Edit/ |
H A D | Commit.cpp | 48 FileOffset Offs; 49 if ((!afterToken && !canInsert(loc, Offs)) || 50 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { 55 addInsert(loc, Offs, text, beforePreviousInsertions); 69 FileOffset Offs; local 70 if ((!afterToken && !canInsert(loc, Offs)) || 71 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { 82 addInsertFromRange(loc, Offs, RangeOffs, RangeLen, beforePreviousInsertions); 87 FileOffset Offs; local 89 if (!canRemoveRange(range, Offs, Le 177 addInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, bool beforePreviousInsertions) argument 191 addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, FileOffset RangeOffs, unsigned RangeLen, bool beforePreviousInsertions) argument 207 addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len) argument 280 canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) argument 295 canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len) argument 322 canReplaceText(SourceLocation loc, StringRef text, FileOffset &Offs, unsigned &Len) argument [all...] |
H A D | EditedSource.cpp | 30 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { argument 31 FileEditsTy::iterator FA = getActionForOffset(Offs); 33 if (FA->first != Offs) 53 FileOffset Offs, StringRef text, 55 if (!canInsertInOffset(OrigLoc, Offs)) 68 FileEdit &FA = FileEdits[Offs]; 85 FileOffset Offs, 136 return commitInsert(OrigLoc, Offs, StrVec.str(), beforePreviousInsertions); 317 EditedSource::getActionForOffset(FileOffset Offs) { argument 318 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); 52 commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, bool beforePreviousInsertions) argument 84 commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, FileOffset InsertFromRangeOffs, unsigned Len, bool beforePreviousInsertions) argument [all...] |
/external/clang/include/clang/Basic/ |
H A D | SourceManagerInternals.h | 47 static LineEntry get(unsigned Offs, unsigned Line, int Filename, argument 51 E.FileOffset = Offs;
|
H A D | SourceManager.h | 1106 unsigned Offs = Loc.getOffset(); local 1107 if (isOffsetInFileID(FID, Offs)) { 1109 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
|
/external/libvpx/vp8/common/ppc/ |
H A 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 1140 stw r0, (\Offs*4)(r5) 1144 .macro WLV Offs 1145 lwz r0, (\Offs* [all...] |
/external/llvm/lib/Target/CellSPU/ |
H A D | SPUISelDAGToDAG.cpp | 516 SDValue Offs; local 518 Offs = ((OpOpc == ISD::STORE) ? Op->getOperand(3) : Op->getOperand(2)); 520 if (Offs.getOpcode() == ISD::Constant || Offs.getOpcode() == ISD::UNDEF) { 521 if (Offs.getOpcode() == ISD::UNDEF) 522 Offs = CurDAG->getTargetConstant(0, Offs.getValueType()); 524 Base = Offs;
|
/external/clang/lib/Basic/ |
H A D | SourceManager.cpp | 1066 unsigned Offs = 0; local 1107 Offs += NextBuf-Buf; 1113 ++Offs, ++Buf; 1114 ++Offs, ++Buf; 1115 LineOffsets.push_back(Offs); 1120 ++Offs, ++Buf;
|
/external/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 1171 if (unsigned Offs = ArgI.getDirectOffset()) { 1173 Ptr = Builder.CreateConstGEP1_32(Ptr, Offs); 1503 if (unsigned Offs = RetAI.getDirectOffset()) { 1505 V = Builder.CreateConstGEP1_32(V, Offs); 1992 if (unsigned Offs = ArgInfo.getDirectOffset()) { 1994 SrcPtr = Builder.CreateConstGEP1_32(SrcPtr, Offs); 2174 if (unsigned Offs = RetAI.getDirectOffset()) { 2176 StorePtr = Builder.CreateConstGEP1_32(StorePtr, Offs);
|
/external/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 2661 unsigned Offs; local 2662 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble.size()) { 2665 return FileLoc.getLocWithOffset(Offs); 2682 unsigned Offs; local 2683 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && 2684 Offs < Preamble.size()) { 2686 return FileLoc.getLocWithOffset(Offs);
|
/external/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAG.h | 372 unsigned Align = 0, int Offs = 0, bool isT=false, 380 unsigned Align = 0, int Offs = 0, bool isT=false,
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 1296 // Offs is the ICmp immediate. 1297 int64_t Offs = AM.BaseOffs; 1299 Offs = -(uint64_t)Offs; // The cast does the right thing with INT64_MIN. 1300 return TLI->isLegalICmpImmediate(Offs); 3485 int64_t Offs = (uint64_t)F.AM.BaseOffs + local 3489 ConstantInt::get(IntTy, -(uint64_t)Offs)))) 3492 NewF.AM.BaseOffs = Offs;
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 421 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); local 422 Idx = Builder->CreateAdd(Idx, Offs); 435 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); local 436 Idx = Builder->CreateAdd(Idx, Offs);
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 2759 int64_t Offs = GA->getOffset(); local 2760 if (C) Offs += C->getZExtValue(); 2763 Op.getValueType(), Offs));
|
H A D | SelectionDAGBuilder.cpp | 3097 uint64_t Offs = local 3105 DAG.getConstant(Offs, MVT::i64)); 3107 OffsVal = DAG.getIntPtrConstant(Offs);
|