/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/ |
D | AVRISelDAGToDAG.cpp | 137 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedLoad() local 141 if ((!isPre && Offs != 1) || (isPre && Offs != -1)) { in selectIndexedLoad() 149 if ((!isPre && Offs != 2) || (isPre && Offs != -2)) { in selectIndexedLoad() 179 int Offs = cast<ConstantSDNode>(LD->getOffset())->getSExtValue(); in selectIndexedProgMemLoad() local 183 if (Offs != 1) { in selectIndexedProgMemLoad() 190 if (Offs != 2) { in selectIndexedProgMemLoad()
|
D | AVRExpandPseudoInsts.cpp | 293 int64_t Offs = MI.getOperand(2).getOffset(); in expand() local 295 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_LO); in expand() 296 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_NEG | AVRII::MO_HI); in expand() 504 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 507 MIBLO.addGlobalAddress(GV, Offs, TF | AVRII::MO_LO); in expand() 508 MIBHI.addGlobalAddress(GV, Offs, TF | AVRII::MO_HI); in expand() 553 int64_t Offs = MI.getOperand(1).getOffset(); in expand() local 556 MIBLO.addGlobalAddress(GV, Offs, TF); in expand() 557 MIBHI.addGlobalAddress(GV, Offs + 1, TF); in expand() 985 int64_t Offs = MI.getOperand(0).getOffset(); in expand() local [all …]
|
D | AVRISelLowering.cpp | 739 int64_t Offs = AM.BaseOffs; in isLegalAddressingMode() local 742 if (AM.BaseGV && !AM.HasBaseReg && AM.Scale == 0 && Offs == 0) { in isLegalAddressingMode() 752 if (Offs < 0) in isLegalAddressingMode() 753 Offs = -Offs; in isLegalAddressingMode() 754 if (AM.BaseGV == 0 && AM.HasBaseReg && AM.Scale == 0 && isUInt<6>(Offs)) { in isLegalAddressingMode()
|
/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/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUISelDAGToDAG.cpp | 519 SDValue Offs; in DFormAddressPredicate() local 521 Offs = ((OpOpc == ISD::STORE) ? Op->getOperand(3) : Op->getOperand(2)); in DFormAddressPredicate() 523 if (Offs.getOpcode() == ISD::Constant || Offs.getOpcode() == ISD::UNDEF) { in DFormAddressPredicate() 524 if (Offs.getOpcode() == ISD::UNDEF) in DFormAddressPredicate() 525 Offs = CurDAG->getTargetConstant(0, Offs.getValueType()); in DFormAddressPredicate() 527 Base = Offs; in DFormAddressPredicate()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | EfficiencySanitizer.cpp | 577 uint64_t Offs; in appToShadow() local 580 Offs = ShadowParams.ShadowOffs[Scale]; in appToShadow() 582 Offs = ShadowParams.ShadowOffs[0] << Scale; in appToShadow() 583 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/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()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 439 uint64_t Offs = TD.getStructLayout(StTy)->getElementOffset(Field); in SelectGetElementPtr() local 442 N = FastEmit_ri_(VT, ISD::ADD, N, NIsKill, Offs, VT); in SelectGetElementPtr() 455 uint64_t Offs = in SelectGetElementPtr() local 457 N = FastEmit_ri_(VT, ISD::ADD, N, NIsKill, Offs, VT); in SelectGetElementPtr()
|
D | TargetLowering.cpp | 2721 int64_t Offs = GA->getOffset(); in LowerAsmOperandForConstraint() local 2722 if (C) Offs += C->getZExtValue(); in LowerAsmOperandForConstraint() 2725 Op.getValueType(), Offs)); in LowerAsmOperandForConstraint()
|
/external/clang/lib/CodeGen/ |
D | MicrosoftCXXABI.cpp | 102 CharUnits Offs = VBT->NonVirtualOffset; in getVBPtrOffsets() local 103 Offs += SubobjectLayout.getVBPtrOffset(); in getVBPtrOffsets() 105 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in getVBPtrOffsets() 106 VBPtrOffsets.push_back(Offs); in getVBPtrOffsets() 1215 CharUnits Offs = VBT->NonVirtualOffset; in EmitVBPtrStores() local 1216 Offs += SubobjectLayout.getVBPtrOffset(); in EmitVBPtrStores() 1218 Offs += Layout.getVBaseClassOffset(VBT->getVBaseWithVPtr()); in EmitVBPtrStores() 1219 Address VBPtr = CGF.Builder.CreateConstInBoundsByteGEP(This, Offs); in EmitVBPtrStores() 2589 CharUnits Offs = CharUnits::Zero(); in EmitFullMemberPointer() local 2591 Offs = getContext().getASTRecordLayout(RD).getVBPtrOffset(); in EmitFullMemberPointer() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | SelectionDAG.h | 370 unsigned Align = 0, int Offs = 0, bool isT=false, 378 unsigned Align = 0, int Offs = 0, bool isT=false,
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 416 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in FoldCmpLoadFromIndexedGlobal() local 417 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal() 430 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in FoldCmpLoadFromIndexedGlobal() local 431 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 542 unsigned Align = 0, int Offs = 0, bool isT=false, 550 unsigned Align = 0, int Offs = 0, bool isT=false,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 632 unsigned Align = 0, int Offs = 0, bool isT=false, 640 unsigned Align = 0, int Offs = 0, bool isT=false,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 453 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in FoldCmpLoadFromIndexedGlobal() local 454 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal() 467 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in FoldCmpLoadFromIndexedGlobal() local 468 Idx = Builder->CreateAdd(Idx, Offs); in FoldCmpLoadFromIndexedGlobal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 396 Value *Offs = ConstantInt::get(Idx->getType(), -FirstTrueElement); in foldCmpLoadFromIndexedGlobal() local 397 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal() 410 Value *Offs = ConstantInt::get(Idx->getType(), -FirstFalseElement); in foldCmpLoadFromIndexedGlobal() local 411 Idx = Builder.CreateAdd(Idx, Offs); in foldCmpLoadFromIndexedGlobal()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 2809 int64_t Offs = (uint64_t)F.AM.BaseOffs + in GenerateCrossUseConstantOffsets() local 2813 ConstantInt::get(IntTy, -(uint64_t)Offs)))) in GenerateCrossUseConstantOffsets() 2816 NewF.AM.BaseOffs = Offs; in GenerateCrossUseConstantOffsets()
|