/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 | 61 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 62 FileEditsTy::iterator FA = getActionForOffset(Offs); in canInsertInOffset() 64 if (FA->first != Offs) in canInsertInOffset() 96 FileOffset Offs, StringRef text, in commitInsert() argument 98 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert() 111 FileEdit &FA = FileEdits[Offs]; in commitInsert() 126 FileOffset Offs, in commitInsertFromRange() argument 180 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange() 446 EditedSource::getActionForOffset(FileOffset Offs) { in getActionForOffset() argument 447 FileEditsTy::iterator I = FileEdits.upper_bound(Offs); in getActionForOffset() [all …]
|
/external/llvm-project/clang/lib/Edit/ |
D | Commit.cpp | 53 FileOffset Offs; in insert() local 54 if ((!afterToken && !canInsert(loc, Offs)) || in insert() 55 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { in insert() 60 addInsert(loc, Offs, text, beforePreviousInsertions); in insert() 74 FileOffset Offs; in insertFromRange() local 75 if ((!afterToken && !canInsert(loc, Offs)) || in insertFromRange() 76 ( afterToken && !canInsertAfterToken(loc, Offs, loc))) { in insertFromRange() 87 addInsertFromRange(loc, Offs, RangeOffs, RangeLen, beforePreviousInsertions); in insertFromRange() 92 FileOffset Offs; in remove() local 94 if (!canRemoveRange(range, Offs, Len)) { in remove() [all …]
|
D | EditedSource.cpp | 74 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { in canInsertInOffset() argument 75 FileEditsTy::iterator FA = getActionForOffset(Offs); in canInsertInOffset() 77 if (FA->first != Offs) in canInsertInOffset() 112 FileOffset Offs, StringRef text, in commitInsert() argument 114 if (!canInsertInOffset(OrigLoc, Offs)) in commitInsert() 127 FileEdit &FA = FileEdits[Offs]; in commitInsert() 142 FileOffset Offs, in commitInsertFromRange() argument 196 return commitInsert(OrigLoc, Offs, StrVec, beforePreviousInsertions); in commitInsertFromRange() 468 EditedSource::getActionForOffset(FileOffset Offs) { in getActionForOffset() argument 469 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; 44 return std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, 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 | 64 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 75 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, 77 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 84 FileEditsTy::iterator getActionForOffset(FileOffset Offs);
|
/external/llvm-project/clang/include/clang/Edit/ |
D | FileOffset.h | 20 unsigned Offs = 0; variable 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 std::tie(LHS.FID, LHS.Offs) < std::tie(RHS.FID, RHS.Offs);
|
D | Commit.h | 126 FileOffset Offs, StringRef text, bool beforePreviousInsertions); 127 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 130 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len); 135 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 136 bool canRemoveRange(CharSourceRange range, FileOffset &Offs, unsigned &Len); 138 FileOffset &Offs, unsigned &Len);
|
D | EditedSource.h | 84 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 95 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, 97 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 104 FileEditsTy::iterator getActionForOffset(FileOffset Offs);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZMachineFunctionInfo.h | 50 void setSpillGPRRegs(unsigned Low, unsigned High, unsigned Offs) { in setSpillGPRRegs() argument 53 SpillGPRRegs.GPROffset = Offs; in setSpillGPRRegs() 60 void setRestoreGPRRegs(unsigned Low, unsigned High, unsigned Offs) { in setRestoreGPRRegs() argument 63 RestoreGPRRegs.GPROffset = Offs; in setRestoreGPRRegs()
|
/external/llvm-project/llvm/lib/Target/SystemZ/ |
D | SystemZMachineFunctionInfo.h | 50 void setSpillGPRRegs(Register Low, Register High, unsigned Offs) { in setSpillGPRRegs() argument 53 SpillGPRRegs.GPROffset = Offs; in setSpillGPRRegs() 60 void setRestoreGPRRegs(Register Low, Register High, unsigned Offs) { in setRestoreGPRRegs() argument 63 RestoreGPRRegs.GPROffset = Offs; in setRestoreGPRRegs()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | MVEGatherScatterLowering.cpp | 891 Instruction *Offs = cast<Instruction>(Offsets); in optimiseOffsets() local 892 if (Offs->getOpcode() != Instruction::Add && in optimiseOffsets() 893 Offs->getOpcode() != Instruction::Mul) in optimiseOffsets() 898 if (!Offs->hasOneUse()) { in optimiseOffsets() 899 if (!hasAllGatScatUsers(Offs)) in optimiseOffsets() 907 if (isa<PHINode>(Offs->getOperand(0))) { in optimiseOffsets() 908 Phi = cast<PHINode>(Offs->getOperand(0)); in optimiseOffsets() 910 } else if (isa<PHINode>(Offs->getOperand(1))) { in optimiseOffsets() 911 Phi = cast<PHINode>(Offs->getOperand(1)); in optimiseOffsets() 915 if (isa<Instruction>(Offs->getOperand(0)) && in optimiseOffsets() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRISelDAGToDAG.cpp | 136 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedLoad() local 140 if ((!isPre && Offs != 1) || (isPre && Offs != -1)) { in selectIndexedLoad() 148 if ((!isPre && Offs != 2) || (isPre && Offs != -2)) { in selectIndexedLoad() 178 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedProgMemLoad() local 182 if (Offs != 1) { in selectIndexedProgMemLoad() 189 if (Offs != 2) { in selectIndexedProgMemLoad()
|
D | AVRExpandPseudoInsts.cpp | 294 int64_t Offs = MI.getOperand(2).getOffset(); in expand() local 296 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_LO); in expand() 297 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_HI); in expand() 505 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 508 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_LO); in expand() 509 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_HI); in expand() 554 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 557 MIBLO.addGlobalAddress(GV, Offs, TF); in expand() 558 MIBHI.addGlobalAddress(GV, Offs + 1, TF); in expand() 986 int64_t Offs = MI.getOperand(0).getOffset(); in expand() local [all …]
|
/external/llvm-project/llvm/lib/Target/AVR/ |
D | AVRISelDAGToDAG.cpp | 136 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedLoad() local 140 if ((!isPre && Offs != 1) || (isPre && Offs != -1)) { in selectIndexedLoad() 148 if ((!isPre && Offs != 2) || (isPre && Offs != -2)) { in selectIndexedLoad() 178 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedProgMemLoad() local 182 if (Offs != 1) { in selectIndexedProgMemLoad() 189 if (Offs != 2) { in selectIndexedProgMemLoad()
|
D | AVRExpandPseudoInsts.cpp | 294 int64_t Offs = MI.getOperand(2).getOffset(); in expand() local 296 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_LO); in expand() 297 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_HI); in expand() 543 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 546 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_LO); in expand() 547 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_HI); in expand() 592 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 595 MIBLO.addGlobalAddress(GV, Offs, TF); in expand() 596 MIBHI.addGlobalAddress(GV, Offs + 1, TF); in expand() 1024 int64_t Offs = MI.getOperand(0).getOffset(); in expand() local [all …]
|
/external/llvm-project/clang/include/clang/Basic/ |
D | SourceManagerInternals.h | 52 static LineEntry get(unsigned Offs, unsigned Line, int Filename, in get() 56 E.FileOffset = Offs; in get()
|
/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 | 1373 unsigned Offs = Loc.getOffset(); 1374 if (isOffsetInFileID(FID, Offs)) { 1376 *RelativeOffset = Offs - getSLocEntry(FID).getOffset();
|
/external/pigweed/pw_hex_dump/ |
D | docs.rst | 46 Offs. 0 1 2 3 4 5 6 7 8 9 A B C D E F Text 68 Offs. 0 1 2 3 4 5 6 7 8 9 A B C D E F 101 Offs. 0 1 2 3 4 5 6 7 8 9 A B C D E F
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | EfficiencySanitizer.cpp | 563 uint64_t Offs; in appToShadow() local 566 Offs = ShadowOffs[Scale]; in appToShadow() 568 Offs = ShadowOffs[0] << Scale; in appToShadow() 569 Shadow = IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Offs)); in appToShadow()
|
/external/clang/lib/Basic/ |
D | SourceManager.cpp | 1217 unsigned Offs = 0; in ComputeLineNumbers() local 1258 Offs += NextBuf-Buf; in ComputeLineNumbers() 1264 ++Offs; in ComputeLineNumbers() 1267 ++Offs; in ComputeLineNumbers() 1269 LineOffsets.push_back(Offs); in ComputeLineNumbers() 1274 ++Offs; in ComputeLineNumbers()
|
/external/llvm-project/clang/lib/Frontend/ |
D | ASTUnit.cpp | 2524 unsigned Offs; in mapLocationFromPreamble() local 2525 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble->getBounds().Size) { in mapLocationFromPreamble() 2528 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() 2545 unsigned Offs; in mapLocationToPreamble() local 2546 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2547 Offs < Preamble->getBounds().Size) { in mapLocationToPreamble() 2549 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 2687 unsigned Offs; in mapLocationFromPreamble() local 2688 if (SourceMgr->isInFileID(Loc, PreambleID, &Offs) && Offs < Preamble.size()) { in mapLocationFromPreamble() 2691 return FileLoc.getLocWithOffset(Offs); in mapLocationFromPreamble() 2708 unsigned Offs; in mapLocationToPreamble() local 2709 if (SourceMgr->isInFileID(Loc, SourceMgr->getMainFileID(), &Offs) && in mapLocationToPreamble() 2710 Offs < Preamble.size()) { in mapLocationToPreamble() 2712 return FileLoc.getLocWithOffset(Offs); in mapLocationToPreamble()
|