/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
D | TypeIndex.cpp | 70 StringRef TypeIndex::simpleTypeName(TypeIndex TI) { in simpleTypeName() argument 71 assert(TI.isNoneType() || TI.isSimple()); in simpleTypeName() 73 if (TI.isNoneType()) in simpleTypeName() 76 if (TI == TypeIndex::NullptrT()) in simpleTypeName() 81 if (SimpleTypeName.Kind == TI.getSimpleKind()) { in simpleTypeName() 82 if (TI.getSimpleMode() == SimpleTypeMode::Direct) in simpleTypeName() 93 TypeIndex TI, TypeCollection &Types) { in printTypeIndex() argument 95 if (!TI.isNoneType()) { in printTypeIndex() 96 if (TI.isSimple()) in printTypeIndex() 97 TypeName = TypeIndex::simpleTypeName(TI); in printTypeIndex() [all …]
|
D | LazyRandomTypeCollection.cpp | 150 Error LazyRandomTypeCollection::ensureTypeExists(TypeIndex TI) { in ensureTypeExists() argument 151 if (contains(TI)) in ensureTypeExists() 154 return visitRangeForType(TI); in ensureTypeExists() 170 Error LazyRandomTypeCollection::visitRangeForType(TypeIndex TI) { in visitRangeForType() argument 171 assert(!TI.isSimple()); in visitRangeForType() 173 return fullScanForType(TI); in visitRangeForType() 175 auto Next = std::upper_bound(PartialOffsets.begin(), PartialOffsets.end(), TI, in visitRangeForType() 205 TypeIndex TI = TypeIndex::fromArrayIndex(0); in getFirst() local 206 if (auto EC = ensureTypeExists(TI)) { in getFirst() 210 return TI; in getFirst() [all …]
|
D | TypeHashing.cpp | 55 for (TypeIndex TI : Indices) { in hashType() local 57 if (TI.isSimple() || TI.isNoneType()) { in hashType() 58 const uint8_t *IndexBytes = reinterpret_cast<const uint8_t *>(&TI); in hashType() 61 if (TI.toArrayIndex() >= Prev.size() || in hashType() 62 Prev[TI.toArrayIndex()].empty()) { in hashType() 67 BytesToHash = Prev[TI.toArrayIndex()].Hash; in hashType()
|
D | AppendingTypeTableBuilder.cpp | 89 TypeIndex TI; in insertRecord() local 93 TI = insertRecordBytes(C.RecordData); in insertRecord() 94 return TI; in insertRecord()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ARMBuildAttrs.cpp | 79 for (unsigned TI = 0, TE = sizeof(ARMAttributeTags) / sizeof(*ARMAttributeTags); in AttrTypeAsString() local 80 TI != TE; ++TI) in AttrTypeAsString() 81 if (ARMAttributeTags[TI].Attr == Attr) { in AttrTypeAsString() 82 auto TagName = ARMAttributeTags[TI].TagName; in AttrTypeAsString() 90 for (unsigned TI = 0, in AttrTypeFromString() local 92 TI != TE; ++TI) { in AttrTypeFromString() 93 auto TagName = ARMAttributeTags[TI].TagName; in AttrTypeFromString() 95 return ARMAttributeTags[TI].Attr; in AttrTypeFromString()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeTypePointer.cpp | 20 codeview::TypeIndex TI) in NativeTypePointer() argument 21 : NativeRawSymbol(Session, PDB_SymType::PointerType, Id), TI(TI) { in NativeTypePointer() 22 assert(TI.isSimple()); in NativeTypePointer() 23 assert(TI.getSimpleMode() != SimpleTypeMode::Direct); in NativeTypePointer() 27 codeview::TypeIndex TI, in NativeTypePointer() argument 29 : NativeRawSymbol(Session, PDB_SymType::PointerType, Id), TI(TI), in NativeTypePointer() 82 switch (TI.getSimpleMode()) { in getLength() 102 TypeIndex Referent = Record ? Record->ReferentType : TI.makeDirect(); in getTypeId()
|
D | NativeEnumTypes.cpp | 27 Optional<TypeIndex> TI = Types.getFirst(); in NativeEnumTypes() local 28 while (TI) { in NativeEnumTypes() 29 CVType CVT = Types.getType(*TI); in NativeEnumTypes() 34 Matches.push_back(*TI); in NativeEnumTypes() 43 Matches.push_back(*TI); in NativeEnumTypes() 46 TI = Types.getNext(*TI); in NativeEnumTypes()
|
D | TpiStream.cpp | 169 for (TypeIndex TI : HashMap[Bucket]) { in findRecordsByName() local 170 std::string ThisName = computeTypeName(*Types, TI); in findRecordsByName() 172 Result.push_back(TI); in findRecordsByName() 194 for (TypeIndex TI : HashMap[BucketIdx]) { in findFullDeclForForwardRef() local 195 CVType CVT = Types->getType(TI); in findFullDeclForForwardRef() 209 return TI; in findFullDeclForForwardRef() 216 return TI; in findFullDeclForForwardRef()
|
D | NativeTypeVTShape.cpp | 8 codeview::TypeIndex TI, in NativeTypeVTShape() argument 10 : NativeRawSymbol(Session, PDB_SymType::VTableShape, Id), TI(TI), in NativeTypeVTShape()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | SparsePropagation.h | 191 void getFeasibleSuccessors(Instruction &TI, SmallVectorImpl<bool> &Succs, 196 void visitTerminator(Instruction &TI); 288 Instruction &TI, SmallVectorImpl<bool> &Succs, bool AggressiveUndef) { in getFeasibleSuccessors() argument 289 Succs.resize(TI.getNumSuccessors()); in getFeasibleSuccessors() 290 if (TI.getNumSuccessors() == 0) in getFeasibleSuccessors() 293 if (BranchInst *BI = dyn_cast<BranchInst>(&TI)) { in getFeasibleSuccessors() 332 if (TI.isExceptionalTerminator() || in getFeasibleSuccessors() 333 TI.isIndirectTerminator()) { in getFeasibleSuccessors() 338 SwitchInst &SI = cast<SwitchInst>(TI); in getFeasibleSuccessors() 349 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 170 const Instruction *TI = BB.getTerminator(); in computePostDominatedByUnreachable() local 171 if (TI->getNumSuccessors() == 0) { in computePostDominatedByUnreachable() 172 if (isa<UnreachableInst>(TI) || in computePostDominatedByUnreachable() 234 const Instruction *TI = BB->getTerminator(); in calcUnreachableHeuristics() local 235 (void) TI; in calcUnreachableHeuristics() 236 assert(TI->getNumSuccessors() > 1 && "expected more than one successor!"); in calcUnreachableHeuristics() 237 assert(!isa<InvokeInst>(TI) && in calcUnreachableHeuristics() 278 const Instruction *TI = BB->getTerminator(); in calcMetadataWeights() local 279 assert(TI->getNumSuccessors() > 1 && "expected more than one successor!"); in calcMetadataWeights() 280 if (!(isa<BranchInst>(TI) || isa<SwitchInst>(TI) || isa<IndirectBrInst>(TI))) in calcMetadataWeights() [all …]
|
D | CFG.cpp | 88 bool llvm::isCriticalEdge(const Instruction *TI, unsigned SuccNum, in isCriticalEdge() argument 90 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); in isCriticalEdge() 91 return isCriticalEdge(TI, TI->getSuccessor(SuccNum), AllowIdenticalEdges); in isCriticalEdge() 94 bool llvm::isCriticalEdge(const Instruction *TI, const BasicBlock *Dest, in isCriticalEdge() argument 96 assert(TI->isTerminator() && "Must be a terminator to have successors!"); in isCriticalEdge() 97 if (TI->getNumSuccessors() == 1) return false; in isCriticalEdge() 99 assert(find(predecessors(Dest), TI->getParent()) != pred_end(Dest) && in isCriticalEdge()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | BasicBlockUtils.h | 174 BasicBlock *SplitCriticalEdge(Instruction *TI, unsigned SuccNum, 194 Instruction *TI = (*PI)->getTerminator(); variable 195 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) 196 if (TI->getSuccessor(i) == Succ) 197 MadeChange |= !!SplitCriticalEdge(TI, i, Options); 208 Instruction *TI = Src->getTerminator(); variable 211 assert(i != TI->getNumSuccessors() && "Edge doesn't exist!"); 212 if (TI->getSuccessor(i) == Dst) 213 return SplitCriticalEdge(TI, i, Options);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 138 llvm::SplitCriticalEdge(Instruction *TI, unsigned SuccNum, in SplitCriticalEdge() argument 140 if (!isCriticalEdge(TI, SuccNum, Options.MergeIdenticalEdges)) in SplitCriticalEdge() 143 assert(!isa<IndirectBrInst>(TI) && in SplitCriticalEdge() 146 BasicBlock *TIBB = TI->getParent(); in SplitCriticalEdge() 147 BasicBlock *DestBB = TI->getSuccessor(SuccNum); in SplitCriticalEdge() 154 if (isa<CallBrInst>(TI) && SuccNum > 0) in SplitCriticalEdge() 162 BasicBlock *NewBB = BasicBlock::Create(TI->getContext(), in SplitCriticalEdge() 166 NewBI->setDebugLoc(TI->getDebugLoc()); in SplitCriticalEdge() 169 TI->setSuccessor(SuccNum, NewBB); in SplitCriticalEdge() 201 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) { in SplitCriticalEdge() [all …]
|
D | EscapeEnumerator.cpp | 39 Instruction *TI = CurBB->getTerminator(); in Next() local 40 if (!isa<ReturnInst>(TI) && !isa<ResumeInst>(TI)) in Next() 43 Builder.SetInsertPoint(TI); in Next()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLateEHPrepare.cpp | 151 MachineInstr *TI = &*Pos; in replaceFuncletReturns() local 153 switch (TI->getOpcode()) { in replaceFuncletReturns() 156 MachineBasicBlock *TBB = TI->getOperand(0).getMBB(); in replaceFuncletReturns() 158 BuildMI(MBB, TI, TI->getDebugLoc(), TII.get(WebAssembly::BR)) in replaceFuncletReturns() 160 TI->eraseFromParent(); in replaceFuncletReturns() 167 auto *EHPad = getMatchingEHPad(TI); in replaceFuncletReturns() 173 BuildMI(MBB, TI, TI->getDebugLoc(), TII.get(WebAssembly::RETHROW)) in replaceFuncletReturns() 175 TI->eraseFromParent(); in replaceFuncletReturns()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | VPlanHCFGBuilder.cpp | 274 Instruction *TI = BB->getTerminator(); in buildPlainCFG() local 275 assert(TI && "Terminator expected."); in buildPlainCFG() 276 unsigned NumSuccs = TI->getNumSuccessors(); in buildPlainCFG() 279 VPBasicBlock *SuccVPBB = getOrCreateVPBB(TI->getSuccessor(0)); in buildPlainCFG() 283 VPBasicBlock *SuccVPBB0 = getOrCreateVPBB(TI->getSuccessor(0)); in buildPlainCFG() 285 VPBasicBlock *SuccVPBB1 = getOrCreateVPBB(TI->getSuccessor(1)); in buildPlainCFG() 289 assert(isa<BranchInst>(TI) && "Unsupported terminator!"); in buildPlainCFG() 290 auto *Br = cast<BranchInst>(TI); in buildPlainCFG()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZLongBranch.cpp | 341 SmallVector<TerminatorInfo, 16>::iterator TI = Terminators.begin(); in setWorstCaseAddresses() local 346 skipTerminator(Position, *TI, true); in setWorstCaseAddresses() 347 ++TI; in setWorstCaseAddresses() 442 SmallVector<TerminatorInfo, 16>::iterator TI = Terminators.begin(); in relaxBranches() local 447 assert(Position.Address <= TI->Address && in relaxBranches() 449 if (mustRelaxBranch(*TI, Position.Address)) in relaxBranches() 450 relaxBranch(*TI); in relaxBranches() 451 skipTerminator(Position, *TI, false); in relaxBranches() 452 ++TI; in relaxBranches()
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | typingsInstaller.ts | 12 constructor(host: server.ServerHost, p?: InstallerParams, log?: TI.Log) { 27 …tServerHost, installedTypings: string[] | string, typingFiles: File[], cb: TI.RequestCompletedActi… 48 import typingsName = TI.typingsName; 77 … installWorker(_requestId: number, _args: string[], _cwd: string, _cb: TI.RequestCompletedAction) { 125 … installWorker(_requestId: number, _args: string[], _cwd: string, cb: TI.RequestCompletedAction) { 169 … installWorker(_requestId: number, _args: string[], _cwd: string, cb: TI.RequestCompletedAction) { 206 …installWorker(_requestId: number, _args: string[], _cwd: string, cb: TI.RequestCompletedAction): v… 340 …installWorker(_requestId: number, _args: string[], _cwd: string, cb: TI.RequestCompletedAction): v… 394 …installWorker(_requestId: number, _args: string[], _cwd: string, cb: TI.RequestCompletedAction): v… 438 …installWorker(_requestId: number, _args: string[], _cwd: string, cb: TI.RequestCompletedAction): v… [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroElide.cpp | 159 auto *TI = B.getTerminator(); in shouldElide() local 160 if (TI->getNumSuccessors() == 0 && !TI->isExceptionalTerminator() && in shouldElide() 161 !isa<UnreachableInst>(TI)) in shouldElide() 162 Terminators.insert(TI); in shouldElide() 168 for (Instruction *TI : Terminators) { in shouldElide() 169 if (DT.dominates(DA, TI)) { in shouldElide()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 282 Instruction *InstCombiner::foldSelectOpOp(SelectInst &SI, Instruction *TI, in foldSelectOpOp() argument 297 if (TI->getNumOperands() == 1 && TI->isCast()) { in foldSelectOpOp() 299 if (TI->getOperand(0)->getType() != FIOpndTy) in foldSelectOpOp() 318 if (TI->getOpcode() != Instruction::BitCast && in foldSelectOpOp() 319 (!TI->hasOneUse() || !FI->hasOneUse())) in foldSelectOpOp() 321 } else if (!TI->hasOneUse() || !FI->hasOneUse()) { in foldSelectOpOp() 330 Builder.CreateSelect(Cond, TI->getOperand(0), FI->getOperand(0), in foldSelectOpOp() 332 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in foldSelectOpOp() 333 TI->getType()); in foldSelectOpOp() 338 if (match(TI, m_FNeg(m_Value(X))) && match(FI, m_FNeg(m_Value(Y))) && in foldSelectOpOp() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | NativeTypePointer.h | 25 codeview::TypeIndex TI); 29 codeview::TypeIndex TI, codeview::PointerRecord PR); 53 codeview::TypeIndex TI; variable
|
D | SymbolCache.h | 62 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType() argument 72 TI, std::move(Record), std::forward<Args>(ConstructorArgs)...); in createSymbolForType() 78 SymIndexId createSimpleType(codeview::TypeIndex TI, 112 SymIndexId findSymbolByTypeIndex(codeview::TypeIndex TI);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 261 static std::string getBranchCondString(Instruction *TI) { in getBranchCondString() argument 262 BranchInst *BI = dyn_cast<BranchInst>(TI); in getBranchCondString() 616 const Instruction *TI = BB.getTerminator(); in computeCFGHash() local 617 for (unsigned I = 0, E = TI->getNumSuccessors(); I != E; ++I) { in computeCFGHash() 618 BasicBlock *Succ = TI->getSuccessor(I); in computeCFGHash() 774 Instruction *TI = SrcBB->getTerminator(); in getInstrBB() local 775 if (TI->getNumSuccessors() <= 1) in getInstrBB() 781 BasicBlock *InstrBB = SplitCriticalEdge(TI, SuccNum); in getInstrBB() 1294 Instruction *TI = BB.getTerminator(); in setBranchWeights() local 1295 if (TI->getNumSuccessors() < 2) in setBranchWeights() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Threading.cpp | 41 ThreadInfo *TI = reinterpret_cast<ThreadInfo*>(Arg); in ExecuteOnThread_Dispatch() local 42 TI->UserFn(TI->UserData); in ExecuteOnThread_Dispatch()
|