/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 | 30 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 31 FileEditsTy::iterator FA = getActionForOffset(Offs); in canInsertInOffset() 33 if (FA->first != Offs) in canInsertInOffset() 53 FileOffset Offs, StringRef text, in commitInsert() argument 55 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert() 68 FileEdit &FA = FileEdits[Offs]; in commitInsert() 85 FileOffset Offs, in commitInsertFromRange() argument 139 return commitInsert(OrigLoc, Offs, StrVec.str(), beforePreviousInsertions); in commitInsertFromRange() 320 EditedSource::getActionForOffset(FileOffset Offs) { in getActionForOffset() argument 321 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 | 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);
|
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);
|
/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 | 1225 unsigned Offs = Loc.getOffset(); 1226 if (isOffsetInFileID(FID, Offs)) { 1228 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
|
/external/llvm/lib/Target/CellSPU/ |
D | SPUISelDAGToDAG.cpp | 515 SDValue Offs; in DFormAddressPredicate() local 517 Offs = ((OpOpc == ISD::STORE) ? Op->getOperand(3) : Op->getOperand(2)); in DFormAddressPredicate() 519 if (Offs.getOpcode() == ISD::Constant || Offs.getOpcode() == ISD::UNDEF) { in DFormAddressPredicate() 520 if (Offs.getOpcode() == ISD::UNDEF) in DFormAddressPredicate() 521 Offs = CurDAG->getTargetConstant(0, Offs.getValueType()); in DFormAddressPredicate() 523 Base = Offs; in DFormAddressPredicate()
|
/external/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 | 1094 unsigned Offs = 0; in ComputeLineNumbers() local 1135 Offs += NextBuf-Buf; in ComputeLineNumbers() 1141 ++Offs, ++Buf; in ComputeLineNumbers() 1142 ++Offs, ++Buf; in ComputeLineNumbers() 1143 LineOffsets.push_back(Offs); in ComputeLineNumbers() 1148 ++Offs, ++Buf; in ComputeLineNumbers()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1217 if (unsigned Offs = ArgI.getDirectOffset()) { in EmitFunctionProlog() local 1219 Ptr = Builder.CreateConstGEP1_32(Ptr, Offs); in EmitFunctionProlog() 1561 if (unsigned Offs = RetAI.getDirectOffset()) { in EmitFunctionEpilog() local 1563 V = Builder.CreateConstGEP1_32(V, Offs); in EmitFunctionEpilog() 2050 if (unsigned Offs = ArgInfo.getDirectOffset()) { in EmitCall() local 2052 SrcPtr = Builder.CreateConstGEP1_32(SrcPtr, Offs); in EmitCall() 2231 if (unsigned Offs = RetAI.getDirectOffset()) { in EmitCall() local 2233 StorePtr = Builder.CreateConstGEP1_32(StorePtr, Offs); in EmitCall()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 2689 unsigned Offs; in mapLocationFromPreamble() local 2690 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble.size()) { in mapLocationFromPreamble() 2693 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() 2710 unsigned Offs; in mapLocationToPreamble() local 2711 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2712 Offs < Preamble.size()) { in mapLocationToPreamble() 2714 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 410 unsigned Align = 0, int Offs = 0, bool isT=false, 418 unsigned Align = 0, int Offs = 0, bool isT=false,
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 1308 int64_t Offs = AM.BaseOffs; in isLegalUse() local 1310 Offs = -(uint64_t)Offs; // The cast does the right thing with INT64_MIN. in isLegalUse() 1311 return TLI->isLegalICmpImmediate(Offs); in isLegalUse() 3554 int64_t Offs = (uint64_t)F.AM.BaseOffs + in GenerateCrossUseConstantOffsets() local 3558 ConstantInt::get(IntTy, -(uint64_t)Offs)))) in GenerateCrossUseConstantOffsets() 3561 NewF.AM.BaseOffs = Offs; in GenerateCrossUseConstantOffsets()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 422 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in FoldCmpLoadFromIndexedGlobal() local 423 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal() 436 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in FoldCmpLoadFromIndexedGlobal() local 437 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 2794 int64_t Offs = GA->getOffset(); in LowerAsmOperandForConstraint() local 2795 if (C) Offs += C->getZExtValue(); in LowerAsmOperandForConstraint() 2798 Op.getValueType(), Offs)); in LowerAsmOperandForConstraint()
|
D | SelectionDAGBuilder.cpp | 3132 uint64_t Offs = in visitGetElementPtr() local 3140 DAG.getConstant(Offs, MVT::i64)); in visitGetElementPtr() 3142 OffsVal = DAG.getIntPtrConstant(Offs); in visitGetElementPtr()
|