Searched defs:TI (Results 1 - 25 of 73) sorted by relevance

123

/external/llvm/lib/Support/
H A DThreading.cpp39 ThreadInfo *TI = reinterpret_cast<ThreadInfo*>(Arg); local
40 TI->UserFn(TI->UserData);
/external/strace/tests/
H A Dksysent.c33 #define TI 0 macro
/external/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h116 /// *all* edges from TI to the specified successor will be merged into the same
128 BasicBlock *SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum,
149 TerminatorInst *TI = (*PI)->getTerminator(); local
150 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i)
151 if (TI->getSuccessor(i) == Succ)
152 MadeChange |= !!SplitCriticalEdge(TI, i, Options);
164 TerminatorInst *TI = Src->getTerminator(); local
167 assert(i != TI->getNumSuccessors() && "Edge doesn't exist!");
168 if (TI->getSuccessor(i) == Dst)
169 return SplitCriticalEdge(TI,
[all...]
/external/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp113 const TerminatorInst *TI = BB.getTerminator(); local
114 if (CheckUnwind && TI->mayThrow()) {
116 } else if (CheckReturn && isa<ReturnInst>(TI)) {
/external/llvm/lib/Transforms/ObjCARC/
H A DDependencyAnalysis.cpp269 const TerminatorInst *TI = cast<TerminatorInst>(&BB->back()); local
270 for (succ_const_iterator SI(TI), SE(TI, false); SI != SE; ++SI) {
/external/llvm/lib/Transforms/Scalar/
H A DLoopDeletion.cpp193 TerminatorInst *TI = preheader->getTerminator(); local
194 TI->replaceUsesOfWith(L->getHeader(), exitBlock);
H A DLoopRotation.cpp264 TerminatorInst *TI = OrigHeader->getTerminator(); local
265 for (BasicBlock *SuccBB : TI->successors())
/external/llvm/lib/Analysis/
H A DCFG.cpp88 bool llvm::isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum, argument
90 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!");
91 if (TI->getNumSuccessors() == 1) return false;
93 const BasicBlock *Dest = TI->getSuccessor(SuccNum);
99 ++I; // Skip one edge due to the incoming arc from TI.
104 // non-critical iff all preds come from TI's block.
H A DDivergenceAnalysis.cpp96 // A helper function that explores sync dependents of TI.
97 void exploreSyncDependency(TerminatorInst *TI);
132 void DivergencePropagator::exploreSyncDependency(TerminatorInst *TI) { argument
133 // Propagation rule 1: if branch TI is divergent, all PHINodes in TI's
142 BasicBlock *ThisBB = TI->getParent();
169 // a branch TI, we first compute its influence region, the union of all simple
170 // paths from TI to its immediate post dominator (IPostDom). Then, we search
172 // these users are sync dependent on TI.
176 // values that are used outside must dominate TI
[all...]
H A DSparsePropagation.cpp121 void SparseSolver::getFeasibleSuccessors(TerminatorInst &TI, argument
124 Succs.resize(TI.getNumSuccessors());
125 if (TI.getNumSuccessors() == 0) return;
127 if (BranchInst *BI = dyn_cast<BranchInst>(&TI)) {
162 if (isa<InvokeInst>(TI)) {
169 if (isa<IndirectBrInst>(TI)) {
174 SwitchInst &SI = cast<SwitchInst>(TI);
184 Succs.assign(TI.getNumSuccessors(), true);
195 Succs.assign(TI.getNumSuccessors(), true);
208 TerminatorInst *TI local
218 visitTerminatorInst(TerminatorInst &TI) argument
[all...]
H A DBranchProbabilityInfo.cpp123 TerminatorInst *TI = BB->getTerminator(); local
124 if (TI->getNumSuccessors() == 0) {
125 if (isa<UnreachableInst>(TI))
142 if (UnreachableEdges.size() == TI->getNumSuccessors())
147 if (TI->getNumSuccessors() == 1 || UnreachableEdges.empty())
152 if (auto *II = dyn_cast<InvokeInst>(TI))
183 TerminatorInst *TI = BB->getTerminator(); local
184 if (TI->getNumSuccessors() == 1)
186 if (!isa<BranchInst>(TI) && !isa<SwitchInst>(TI))
245 TerminatorInst *TI = BB->getTerminator(); local
[all...]
/external/llvm/lib/IR/
H A DDominators.cpp43 const TerminatorInst *TI = Start->getTerminator(); local
45 for (unsigned int i = 0, n = TI->getNumSuccessors(); i < n; ++i) {
46 if (TI->getSuccessor(i) == End)
H A DBasicBlock.cpp402 TerminatorInst *TI = getTerminator(); local
403 if (!TI)
407 for (BasicBlock *Succ : TI->successors()) {
H A DPass.cpp187 const PassInfo *Pass::lookupPassInfo(const void *TI) { argument
188 return PassRegistry::getPassRegistry()->getPassInfo(TI);
/external/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp120 /// If MergeIdenticalEdges is true (not the default), *all* edges from TI to the
132 BasicBlock *llvm::SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, argument
134 if (!isCriticalEdge(TI, SuccNum, Options.MergeIdenticalEdges))
137 assert(!isa<IndirectBrInst>(TI) &&
140 BasicBlock *TIBB = TI->getParent();
141 BasicBlock *DestBB = TI->getSuccessor(SuccNum);
148 BasicBlock *NewBB = BasicBlock::Create(TI->getContext(),
152 NewBI->setDebugLoc(TI->getDebugLoc());
155 TI->setSuccessor(SuccNum, NewBB);
157 // Insert the block into the function... right after the block TI live
[all...]
/external/clang/lib/AST/
H A DMangle.cpp67 const TargetInfo &TI = Context.getTargetInfo(); local
68 const llvm::Triple &Triple = TI.getTriple();
75 TI.getCXXABI() == TargetCXXABI::Microsoft)
141 const TargetInfo &TI = Context.getTargetInfo(); local
142 if (CC == CCM_Other || (MCXX && TI.getCXXABI() == TargetCXXABI::Microsoft)) {
181 TI.getPointerWidth(0)) /
182 TI.getPointerWidth(0);
183 Out << ((TI.getPointerWidth(0) / 8) * ArgWords);
/external/clang/lib/Lex/
H A DPPExpressions.cpp289 const TargetInfo &TI = PP.getTargetInfo(); local
292 NumBits = TI.getIntWidth();
294 NumBits = TI.getWCharWidth();
296 NumBits = TI.getChar16Width();
298 NumBits = TI.getChar32Width();
300 NumBits = TI.getCharWidth();
308 Val.setIsUnsigned(!TargetInfo::isTypeSigned(TI.getWCharType()));
/external/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp334 SmallVector<TerminatorInfo, 16>::iterator TI = Terminators.begin(); local
339 skipTerminator(Position, *TI, true);
340 ++TI;
435 SmallVector<TerminatorInfo, 16>::iterator TI = Terminators.begin(); local
440 assert(Position.Address <= TI->Address &&
442 if (mustRelaxBranch(*TI, Position.Address))
443 relaxBranch(*TI);
444 skipTerminator(Position, *TI, false);
445 ++TI;
/external/llvm/lib/Transforms/Instrumentation/
H A DCFGMST.h102 TerminatorInst *TI = BB->getTerminator(); local
106 if (int successors = TI->getNumSuccessors()) {
108 BasicBlock *TargetBB = TI->getSuccessor(i);
109 bool Critical = isCriticalEdge(TI, i);
/external/llvm/unittests/IR/
H A DIRBuilderTest.cpp88 TerminatorInst *TI = BB->getTerminator(); local
89 EXPECT_EQ(BI, TI);
90 EXPECT_EQ(2u, TI->getNumSuccessors());
91 EXPECT_EQ(TBB, TI->getSuccessor(0));
92 EXPECT_EQ(FBB, TI->getSuccessor(1));
97 TI = BB->getTerminator();
98 EXPECT_EQ(BI, TI);
99 EXPECT_EQ(2u, TI->getNumSuccessors());
100 EXPECT_EQ(TBB, TI->getSuccessor(0));
101 EXPECT_EQ(FBB, TI
[all...]
/external/pdfium/core/src/fxcodec/jbig2/
H A DJBig2_TrdProc.cpp21 int32_t SI, TI; local
79 TI = STRIPT + CURT;
171 SBREG->composeFrom(SI, TI, IBI, SBCOMBOP);
174 SBREG->composeFrom(SI - WI + 1, TI, IBI, SBCOMBOP);
177 SBREG->composeFrom(SI, TI - HI + 1, IBI, SBCOMBOP);
180 SBREG->composeFrom(SI - WI + 1, TI - HI + 1, IBI, SBCOMBOP);
186 SBREG->composeFrom(TI, SI, IBI, SBCOMBOP);
189 SBREG->composeFrom(TI - WI + 1, SI, IBI, SBCOMBOP);
192 SBREG->composeFrom(TI, SI - HI + 1, IBI, SBCOMBOP);
195 SBREG->composeFrom(TI
221 int32_t SI, TI; local
[all...]
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp195 const TargetInfo &TI, MacroBuilder &Builder) {
196 DefineTypeSize(MacroName, TI.getTypeWidth(Ty), TI.getTypeConstantSuffix(Ty),
197 TI.isTypeSigned(Ty), Builder);
201 const TargetInfo &TI, MacroBuilder &Builder) {
202 bool IsSigned = TI.isTypeSigned(Ty);
203 StringRef FmtModifier = TI.getTypeFormatModifier(Ty);
216 const TargetInfo &TI, MacroBuilder &Builder) {
217 Builder.defineMacro(MacroName, Twine(TI.getTypeWidth(Ty)));
221 const TargetInfo &TI, MacroBuilde
194 DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, const TargetInfo &TI, MacroBuilder &Builder) argument
200 DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, const TargetInfo &TI, MacroBuilder &Builder) argument
215 DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, const TargetInfo &TI, MacroBuilder &Builder) argument
220 DefineTypeSizeof(StringRef MacroName, unsigned BitWidth, const TargetInfo &TI, MacroBuilder &Builder) argument
226 DefineExactWidthIntType(TargetInfo::IntType Ty, const TargetInfo &TI, MacroBuilder &Builder) argument
246 DefineExactWidthIntTypeSize(TargetInfo::IntType Ty, const TargetInfo &TI, MacroBuilder &Builder) argument
261 DefineLeastWidthIntType(unsigned TypeWidth, bool IsSigned, const TargetInfo &TI, MacroBuilder &Builder) argument
274 DefineFastIntType(unsigned TypeWidth, bool IsSigned, const TargetInfo &TI, MacroBuilder &Builder) argument
361 InitializeStandardPredefinedMacros(const TargetInfo &TI, const LangOptions &LangOpts, const FrontendOptions &FEOpts, MacroBuilder &Builder) argument
470 InitializePredefinedMacros(const TargetInfo &TI, const LangOptions &LangOpts, const FrontendOptions &FEOpts, MacroBuilder &Builder) argument
[all...]
/external/llvm/lib/CodeGen/
H A DMachineModuleInfo.cpp426 unsigned MachineModuleInfo::getTypeIDFor(const GlobalValue *TI) { argument
428 if (TypeInfos[i] == TI) return i + 1;
430 TypeInfos.push_back(TI);
H A DShadowStackGCLowering.cpp119 TerminatorInst *TI = CurBB->getTerminator(); local
120 if (!isa<ReturnInst>(TI) && !isa<ResumeInst>(TI))
123 Builder.SetInsertPoint(TI);
/external/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp513 Instruction *TI = (*I)->getTerminator(); local
514 if (!TI)
517 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) {

Completed in 2414 milliseconds

123