Searched defs:PI (Results 26 - 50 of 102) sorted by relevance

12345

/external/llvm/lib/Analysis/
H A DProfileInfoLoaderPass.cpp71 virtual void *getAdjustedAnalysisPointer(AnalysisID PI) { argument
72 if (PI == &ProfileInfo::ID)
H A DProfileEstimatorPass.cpp63 virtual void *getAdjustedAnalysisPointer(AnalysisID PI) { argument
64 if (PI == &ProfileInfo::ID)
H A DProfileVerifierPass.cpp47 ProfileInfoT<FType, BType> *PI; member in class:__anon21081::ProfileVerifierPassT
97 double BBWeight = PI->getExecutionCount(BB);
105 typename ProfileInfoT<FType, BType>::Edge E = PI->getEdge(*bbi,BB);
106 double EdgeWeight = PI->getEdgeWeight(E);
120 typename ProfileInfoT<FType, BType>::Edge E = PI->getEdge(BB,*bbi);
121 double EdgeWeight = PI->getEdgeWeight(E);
202 double EdgeWeight = PI->getEdgeWeight(E);
251 DI.inWeight += ReadOrAssert(PI->getEdge(0,BB));
256 DI.inWeight += ReadOrAssert(PI->getEdge(*bpi,BB));
267 double w = PI
[all...]
H A DTypeBasedAliasAnalysis.cpp225 virtual void *getAdjustedAnalysisPointer(const void *PI) { argument
226 if (PI == &AliasAnalysis::ID)
/external/llvm/lib/IR/
H A DPassRegistry.cpp106 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { argument
110 Impl->PassInfoMap.insert(std::make_pair(PI.getTypeInfo(),&PI)).second;
113 Impl->PassInfoStringMap[PI.getPassArgument()] = &PI;
118 (*I)->passRegistered(&PI);
120 if (ShouldFree) Impl->ToFree.push_back(&PI);
123 void PassRegistry::unregisterPass(const PassInfo &PI) { argument
127 Impl->PassInfoMap.find(PI.getTypeInfo());
132 Impl->PassInfoStringMap.erase(PI
[all...]
H A DBasicBlock.cpp184 pred_iterator PI = pred_begin(this), E = pred_end(this); local
185 if (PI == E) return 0; // No preds.
186 BasicBlock *ThePred = *PI;
187 ++PI;
188 return (PI == E) ? ThePred : 0 /*multiple preds*/;
197 pred_iterator PI = pred_begin(this), E = pred_end(this); local
198 if (PI == E) return 0; // No preds.
199 BasicBlock *PredBB = *PI;
200 ++PI;
201 for (;PI !
[all...]
H A DPass.cpp60 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); local
61 if (PI)
62 return PI->getPassName();
172 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); local
173 if (!PI)
175 return PI->createPass();
256 const PassInfo *PI = Pass::lookupPassInfo(Arg); local
258 if (PI) Preserved.push_back(PI->getTypeInfo());
/external/llvm/lib/Target/Hexagon/
H A DHexagonCFGOptimizer.cpp241 PassInfo *PI = new PassInfo("Hexagon CFG Optimizer", "hexagon-cfg", local
243 Registry.registerPass(*PI, true);
/external/llvm/lib/Target/MSP430/
H A DMSP430FrameLowering.cpp141 MachineBasicBlock::iterator PI = prior(MBBI); local
142 unsigned Opc = PI->getOpcode();
143 if (Opc != MSP430::POP16r && !PI->isTerminator())
/external/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp216 ProfileInfo *PI = P->getAnalysisIfAvailable<ProfileInfo>(); local
219 if (DT == 0 && LI == 0 && PI == 0)
373 if (PI)
374 PI->splitEdge(TIBB, DestBB, NewBB, MergeIdenticalEdges);
/external/llvm/tools/llc/
H A Dllc.cpp349 const PassInfo *PI = PR->getPassInfo(StartAfter); local
350 if (!PI) {
354 StartAfterID = PI->getTypeInfo();
357 const PassInfo *PI = PR->getPassInfo(StopAfter); local
358 if (!PI) {
362 StopAfterID = PI->getTypeInfo();
/external/llvm/utils/TableGen/
H A DOptParserEmitter.cpp143 for (PrefixKeyT::const_iterator PI = I->first.begin(),
144 PE = I->first.end(); PI != PE; ++PI) {
145 OS << "\"" << *PI << "\" COMMA "; local
/external/skia/src/effects/gradients/
H A DSkSweepGradient.cpp57 #define PI 3.14159265 macro
61 /* Our table stores precomputed values for atan: [0...1] -> [0..PI/4]
73 int iv = (int)round(v * DENOM * 2 / PI);
195 // first part of the atan(v) = PI/2 - atan(1/v) identity
214 // complete the atan(v) = PI/2 - atan(1/v) identity
225 // returns angle in a circle [0..2PI) -> [0..255]
/external/aac/libAACenc/src/
H A Daacenc_tns.h99 #ifndef PI
100 #define PI 3.1415926535897931f macro
/external/arduino/hardware/arduino/cores/arduino/
H A Dwiring.h45 #define PI 3.1415926535897932384626433832795 macro
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/Common/
H A DesTransform.c24 #define PI 3.1415926535897932384626433832795f macro
60 sinAngle = sinf ( angle * PI / 180.0f );
61 cosAngle = cosf ( angle * PI / 180.0f );
142 frustumH = tanf( fovy / 360.0f * PI ) * nearZ;
/external/chromium_org/third_party/icu/source/i18n/
H A Dastro.h268 static const double PI; member in class:CalendarAstronomer
/external/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp417 Pass2Ty::iterator PI = Pass2.find(*I); local
418 if (PI == Pass2.end())
421 NewN->addPredecessor(const_cast<ExplodedNode *>(PI->second), *G);
430 Pass2Ty::iterator PI = Pass2.find(*I); local
431 if (PI != Pass2.end()) {
432 const_cast<ExplodedNode *>(PI->second)->addPredecessor(NewN, *G);
/external/icu4c/i18n/
H A Dastro.h268 static const double PI; member in class:CalendarAstronomer
/external/llvm/include/llvm/Analysis/
H A DBlockFrequencyImpl.h134 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), local
137 if (PI == PE)
140 BlockT *Pred = *PI;
142 ++PI;
143 if (PI != PE)
171 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB),
173 PI != PE; ++PI) {
174 BlockT *Pred = *PI;
219 PI
[all...]
H A DPtrUseVisitor.h111 PtrInfo PI; member in class:llvm::detail::PtrUseVisitorBase
211 PI.reset();
226 if (PI.isAborted())
229 return PI;
235 PI.setEscaped(&SI);
243 PI.setEscaped(&I);
278 PI.setEscaped(CS.getInstruction());
/external/llvm/lib/Analysis/IPA/
H A DGlobalsModRef.cpp162 virtual void *getAdjustedAnalysisPointer(AnalysisID PI) { argument
163 if (PI == &AliasAnalysis::ID)
/external/llvm/lib/Transforms/Scalar/
H A DLoopRotation.cpp492 pred_iterator PI = pred_begin(BB); local
493 BasicBlock *NearestDom = *PI;
494 for (pred_iterator PE = pred_end(BB); PI != PE; ++PI)
495 NearestDom = DT->findNearestCommonDominator(NearestDom, *PI);
/external/llvm/tools/bugpoint/
H A DExtractFunction.cpp401 std::vector<std::string> PI; local
402 PI.push_back("extract-blocks");
403 Module *Ret = runPassesOn(M, PI, false, 1, &ExtraArg);
/external/llvm/tools/llvm-prof/
H A Dllvm-prof.cpp78 ProfileInfo &PI; member in class:__anon21754::ProfileAnnotator
80 ProfileAnnotator(ProfileInfo &pi) : PI(pi) {}
84 double w = PI.getExecutionCount(F);
92 double w = PI.getExecutionCount(BB);
110 double w = ignoreMissing(PI.getEdgeWeight(std::make_pair(BB, Succ)));
149 ProfileInfo &PI = getAnalysis<ProfileInfo>(); local
162 double w = ignoreMissing(PI.getExecutionCount(FI));
166 double w = ignoreMissing(PI.getExecutionCount(BB));
241 ProfileAnnotator PA(PI);

Completed in 8669 milliseconds

12345