Home
last modified time | relevance | path

Searched refs:PI (Results 1 – 25 of 265) sorted by relevance

1234567891011

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
D15.8.2.5.js54 …array[item++] = new TestCase( SECTION, "Math.atan2(1, 0)", Math.PI/2, Math.atan2(1,…
55 …array[item++] = new TestCase( SECTION, "Math.atan2(1,-0)", Math.PI/2, Math.atan2(1,…
58 …array[item++] = new TestCase( SECTION, "Math.atan2(0, -0)", Math.PI, Math.atan2(0,…
59 …array[item++] = new TestCase( SECTION, "Math.atan2(0, -1)", Math.PI, Math.atan2(0,…
65 …array[item++] = new TestCase( SECTION, "Math.atan2(-0, -0)", -Math.PI, Math.atan2(-0, -…
66 …array[item++] = new TestCase( SECTION, "Math.atan2(-0, -1)", -Math.PI, Math.atan2(-0, -…
67 …array[item++] = new TestCase( SECTION, "Math.atan2(-1, 0)", -Math.PI/2, Math.atan2(-1, 0…
68 …array[item++] = new TestCase( SECTION, "Math.atan2(-1, -0)", -Math.PI/2, Math.atan2(-1, -…
70 …array[item++] = new TestCase( SECTION, "Math.atan2(1,-Infinity)", Math.PI, Math.atan2(1, Nu…
75 …array[item++] = new TestCase( SECTION, "Math.atan2(-1,-Infinity)", -Math.PI, Math.atan2(-1…
[all …]
D15.8.2.7.js69 …ew TestCase( SECTION, "Math.cos(Math.PI*2)", 1, Math.cos(Math.PI*2) );
70 …ew TestCase( SECTION, "Math.cos(Math.PI/4)", Math.SQRT2/2, Math.cos(Math.PI/4) );
71 …ew TestCase( SECTION, "Math.cos(Math.PI/2)", 0, Math.cos(Math.PI/2) );
72 … TestCase( SECTION, "Math.cos(3*Math.PI/4)", -Math.SQRT2/2, Math.cos(3*Math.PI/4) );
73 … TestCase( SECTION, "Math.cos(Math.PI)", -1, Math.cos(Math.PI) );
74 … TestCase( SECTION, "Math.cos(5*Math.PI/4)", -Math.SQRT2/2, Math.cos(5*Math.PI/4) );
75 … TestCase( SECTION, "Math.cos(3*Math.PI/2)", 0, Math.cos(3*Math.PI/2) );
76 … TestCase( SECTION, "Math.cos(7*Math.PI/4)", Math.SQRT2/2, Math.cos(7*Math.PI/4) );
77 …ew TestCase( SECTION, "Math.cos(Math.PI*2)", 1, Math.cos(2*Math.PI) );
86 …w TestCase( SECTION, "Math.cos(-Math.PI/4)", Math.SQRT2/2, Math.cos(-Math.PI/4) );
[all …]
D15.8.2.2.js53 …array[item++] = new TestCase( SECTION, "Math.acos(null)", Math.PI/2, Math.acos(null…
57 …array[item++] = new TestCase( SECTION, "Math.acos('0')", Math.PI/2, Math.acos('0')…
59 …array[item++] = new TestCase( SECTION, "Math.acos('-1')", Math.PI, Math.acos('-1'…
64 …array[item++] = new TestCase( SECTION, "Math.acos(-1)", Math.PI, Math.acos(-1) …
65 …array[item++] = new TestCase( SECTION, "Math.acos(0)", Math.PI/2, Math.acos(0) …
66 …array[item++] = new TestCase( SECTION, "Math.acos(-0)", Math.PI/2, Math.acos(-0) …
67 …array[item++] = new TestCase( SECTION, "Math.acos(Math.SQRT1_2)", Math.PI/4, Math.acos(Math.…
68 …array[item++] = new TestCase( SECTION, "Math.acos(-Math.SQRT1_2)", Math.PI/4*3, Math.acos(-Mat…
69 …array[item++] = new TestCase( SECTION, "Math.acos(0.9999619230642)", Math.PI/360, Math.acos(0.…
D15.8.2.4.js62 …array[item++] = new TestCase( SECTION, "Math.atan('1')", Math.PI/4, Math.atan('1')…
63 …array[item++] = new TestCase( SECTION, "Math.atan('-1')", -Math.PI/4, Math.atan('-1'…
64 …array[item++] = new TestCase( SECTION, "Math.atan('Infinity)", Math.PI/2, Math.atan('Inf…
65 …array[item++] = new TestCase( SECTION, "Math.atan('-Infinity)", -Math.PI/2, Math.atan('-In…
70 …array[item++] = new TestCase( SECTION, "Math.atan(Infinity)", Math.PI/2, Math.atan(Numb…
71 …array[item++] = new TestCase( SECTION, "Math.atan(-Infinity)", -Math.PI/2, Math.atan(Numb…
72 …array[item++] = new TestCase( SECTION, "Math.atan(1)", Math.PI/4, Math.atan(1) …
73 …array[item++] = new TestCase( SECTION, "Math.atan(-1)", -Math.PI/4, Math.atan(-1) …
D15.8.2.3.js58 … array[item++] = new TestCase( SECTION, "Math.asin('1')", Math.PI/2, Math.asin("1") );
59 … array[item++] = new TestCase( SECTION, "Math.asin('-1')", -Math.PI/2, Math.asin("-1") );
60 …array[item++] = new TestCase( SECTION, "Math.asin(Math.SQRT1_2+'')", Math.PI/4, Math.asin(Math…
61 …array[item++] = new TestCase( SECTION, "Math.asin(-Math.SQRT1_2+'')", -Math.PI/4, Math.asin(-Mat…
70 …array[item++] = new TestCase( SECTION, "Math.asin(1)", Math.PI/2, Math.asin(1) …
71 …array[item++] = new TestCase( SECTION, "Math.asin(-1)", -Math.PI/2, Math.asin(-1) …
72 …array[item++] = new TestCase( SECTION, "Math.asin(Math.SQRT1_2))", Math.PI/4, Math.asin(Math.SQR…
73 …array[item++] = new TestCase( SECTION, "Math.asin(-Math.SQRT1_2))", -Math.PI/4, Math.asin(-Math.SQ…
D15.8.2.18.js63 …item++] = new TestCase( SECTION, "Math.tan(Math.PI/4)", 1, Math.tan(Math.PI/4));
64 …em++] = new TestCase( SECTION, "Math.tan(3*Math.PI/4)", -1, Math.tan(3*Math.PI/4));
65 …y[item++] = new TestCase( SECTION, "Math.tan(Math.PI)", -0, Math.tan(Math.PI));
66 …em++] = new TestCase( SECTION, "Math.tan(5*Math.PI/4)", 1, Math.tan(5*Math.PI/4));
67 …em++] = new TestCase( SECTION, "Math.tan(7*Math.PI/4)", -1, Math.tan(7*Math.PI/4));
81 …N, "Math.tan(3*Math.PI/2) >= 5443000000000000", true, Math.tan(3*Math.PI/2) >= 54430000000000…
82 …ON, "Math.tan(Math.PI/2) >= 5443000000000000", true, Math.tan(Math.PI/2) >= 54430000000000…
/external/llvm/test/Linker/
Dpartial-type-refinement-link.ll9 %PI = type { i8, i8, i8, i8, i8, i8, %"vector<const PI*>", %P* }
10 %"SmallVImpl<const PI*>" = type { i8, %PI* }
11 %"_V_base<const PI*>" = type { %"_V_base<const PI*>::_V_impl" }
12 %"_V_base<const PI*>::_V_impl" = type { %PI*, i8, i8 }
14 %"vector<const PI*>" = type { %"_V_base<const PI*>" }
16 define void @f(%"SmallVImpl<const PI*>"* %this) {
18 %x = getelementptr inbounds %"SmallVImpl<const PI*>"* %this, i64 0, i32 1
Dpartial-type-refinement.ll4 ; CHECK: load %PI** getelementptr inbounds (%"RegisterP<LowerArrayLength>"* @_ZN3mvmL1XE, i64 0, i3…
11 %PI = type { i8, i8, i8, i8, i8, i8, %"vector<const PI*>", %P* }
12 %"RegisterP<LowerArrayLength>" = type { %PI }
13 %"_V_base<const PI*>" = type { %"_V_base<const PI*>::_V_impl" }
14 %"_V_base<const PI*>::_V_impl" = type { %PI*, i8, i8 }
16 %"vector<const PI*>" = type { %"_V_base<const PI*>" }
22 …%0 = load %PI** getelementptr inbounds (%"RegisterP<LowerArrayLength>"* @_ZN3mvmL1XE, i64 0, i32 0…
/external/llvm/include/llvm/
DPassAnalysisSupport.h131 Pass *findImplPass(AnalysisID PI) { in findImplPass() argument
134 if (AnalysisImpls[i].first == PI) { in findImplPass()
143 Pass *findImplPass(Pass *P, AnalysisID PI, Function &F);
145 void addAnalysisImplsPair(AnalysisID PI, Pass *P) { in addAnalysisImplsPair() argument
146 if (findImplPass(PI) == P) in addAnalysisImplsPair()
148 std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P); in addAnalysisImplsPair()
182 const void *PI = &AnalysisType::ID; in getAnalysisIfAvailable() local
184 Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, true); in getAnalysisIfAvailable()
191 return (AnalysisType*)ResultPass->getAdjustedAnalysisPointer(PI); in getAnalysisIfAvailable()
205 AnalysisType &Pass::getAnalysisID(AnalysisID PI) const { in getAnalysisID() argument
[all …]
DPassSupport.h155 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
157 Registry.registerPass(*PI, true); \
158 return PI; \
173 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
175 Registry.registerPass(*PI, true); \
176 return PI; \
271 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
273 Registry.registerPass(*PI, true); \
290 PassInfo *PI = new PassInfo(n, arg, & passName ::ID, \
292 Registry.registerPass(*PI, true); \
/external/icu4c/i18n/
Dastro.cpp22 #if defined (PI)
23 #undef PI
202 const double CalendarAstronomer::PI = 3.14159265358979323846; member in CalendarAstronomer
204 #define CalendarAstronomer_PI2 (CalendarAstronomer::PI*2.0)
205 #define RAD_HOUR ( 12 / CalendarAstronomer::PI ) // radians -> hours
206 #define DEG_RAD ( CalendarAstronomer::PI / 180 ) // degrees -> radians
207 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees
223 return normalize(angle, CalendarAstronomer::PI * 2.0); in norm2PI()
230 …return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronome… in normPI()
504 … double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon()
[all …]
/external/llvm/include/llvm/Analysis/
DBlockFrequencyImpl.h157 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), in getSingleBlockPred() local
160 if (PI == PE) in getSingleBlockPred()
163 BlockT *Pred = *PI; in getSingleBlockPred()
165 ++PI; in getSingleBlockPred()
166 if (PI != PE) in getSingleBlockPred()
194 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), in doBlock() local
196 PI != PE; ++PI) { in doBlock()
197 BlockT *Pred = *PI; in doBlock()
238 PI = GraphTraits< Inverse<BlockT *> >::child_begin(Head), in doLoop() local
240 PI != PE; ++PI) { in doLoop()
[all …]
/external/llvm/lib/Analysis/
DProfileVerifierPass.cpp46 ProfileInfoT<FType, BType> *PI; member in __anon93d5930d0111::ProfileVerifierPassT
96 double BBWeight = PI->getExecutionCount(BB); in printDebugInfo()
104 typename ProfileInfoT<FType, BType>::Edge E = PI->getEdge(*bbi,BB); in printDebugInfo()
105 double EdgeWeight = PI->getEdgeWeight(E); in printDebugInfo()
119 typename ProfileInfoT<FType, BType>::Edge E = PI->getEdge(BB,*bbi); in printDebugInfo()
120 double EdgeWeight = PI->getEdgeWeight(E); in printDebugInfo()
201 double EdgeWeight = PI->getEdgeWeight(E); in ReadOrAssert()
250 DI.inWeight += ReadOrAssert(PI->getEdge(0,BB)); in recurseBasicBlock()
255 DI.inWeight += ReadOrAssert(PI->getEdge(*bpi,BB)); in recurseBasicBlock()
266 double w = PI->getEdgeWeight(PI->getEdge(BB,0)); in recurseBasicBlock()
[all …]
DRegionInfo.cpp141 for (pred_iterator PI = pred_begin(entry), PE = pred_end(entry); PI != PE; in getEnteringBlock() local
142 ++PI) { in getEnteringBlock()
143 Pred = *PI; in getEnteringBlock()
163 for (pred_iterator PI = pred_begin(exit), PE = pred_end(exit); PI != PE; in getExitingBlock() local
164 ++PI) { in getExitingBlock()
165 Pred = *PI; in getExitingBlock()
387 for (pred_iterator PI = pred_begin(getExit()), PE = pred_end(getExit()); in getExpandedRegion() local
388 PI != PE; ++PI) in getExpandedRegion()
389 if (!DT->dominates(getEntry(), *PI)) in getExpandedRegion()
405 for (pred_iterator PI = pred_begin(getExit()), PE = pred_end(getExit()); in getExpandedRegion() local
[all …]
/external/llvm/lib/VMCore/
DPass.cpp60 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName() local
61 if (PI) in getPassName()
62 return PI->getPassName(); in getPassName()
193 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass() local
194 if (!PI) in createPass()
196 return PI->createPass(); in createPass()
277 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved() local
279 if (PI) Preserved.push_back(PI->getTypeInfo()); in addPreserved()
DPassRegistry.cpp105 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { in registerPass() argument
109 Impl->PassInfoMap.insert(std::make_pair(PI.getTypeInfo(),&PI)).second; in registerPass()
112 Impl->PassInfoStringMap[PI.getPassArgument()] = &PI; in registerPass()
117 (*I)->passRegistered(&PI); in registerPass()
119 if (ShouldFree) Impl->ToFree.push_back(&PI); in registerPass()
122 void PassRegistry::unregisterPass(const PassInfo &PI) { in unregisterPass() argument
126 Impl->PassInfoMap.find(PI.getTypeInfo()); in unregisterPass()
131 Impl->PassInfoStringMap.erase(PI.getPassArgument()); in unregisterPass()
DBasicBlock.cpp184 pred_iterator PI = pred_begin(this), E = pred_end(this); in getSinglePredecessor() local
185 if (PI == E) return 0; // No preds. in getSinglePredecessor()
186 BasicBlock *ThePred = *PI; in getSinglePredecessor()
187 ++PI; in getSinglePredecessor()
188 return (PI == E) ? ThePred : 0 /*multiple preds*/; in getSinglePredecessor()
197 pred_iterator PI = pred_begin(this), E = pred_end(this); in getUniquePredecessor() local
198 if (PI == E) return 0; // No preds. in getUniquePredecessor()
199 BasicBlock *PredBB = *PI; in getUniquePredecessor()
200 ++PI; in getUniquePredecessor()
201 for (;PI != E; ++PI) { in getUniquePredecessor()
[all …]
DPassManager.cpp85 static bool ShouldPrintBeforeOrAfterPass(const PassInfo *PI, in ShouldPrintBeforeOrAfterPass() argument
90 if (PassInf->getPassArgument() == PI->getPassArgument()) { in ShouldPrintBeforeOrAfterPass()
99 static bool ShouldPrintBeforePass(const PassInfo *PI) { in ShouldPrintBeforePass() argument
100 return PrintBeforeAll || ShouldPrintBeforeOrAfterPass(PI, PrintBefore); in ShouldPrintBeforePass()
105 static bool ShouldPrintAfterPass(const PassInfo *PI) { in ShouldPrintAfterPass() argument
106 return PrintAfterAll || ShouldPrintBeforeOrAfterPass(PI, PrintAfter); in ShouldPrintAfterPass()
325 virtual Pass* getOnTheFlyPass(Pass *MP, AnalysisID PI, Function &F);
577 const PassInfo *PI = in schedulePass() local
579 if (PI && PI->isAnalysis() && findAnalysisPass(P->getPassID())) { in schedulePass()
596 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(*I); in schedulePass() local
[all …]
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp152 pred_iterator PI = pred_begin(C->getParent()), PE = pred_end(C->getParent()); in processCmp() local
153 if (PI == PE) return false; in processCmp()
156 C->getOperand(0), Op1, *PI, C->getParent()); in processCmp()
159 ++PI; in processCmp()
160 while (PI != PE) { in processCmp()
162 C->getOperand(0), Op1, *PI, C->getParent()); in processCmp()
164 ++PI; in processCmp()
209 for (pred_iterator PI = PB; PI != PE; ++PI) { in processSwitch() local
212 Cond, Case, *PI, BB); in processSwitch()
221 if (PI == PB) { in processSwitch()
/external/v8/test/mjsunit/regress/
Dregress-925537.js38 assertClose( Math.PI / 4, Math.atan2(pinf, pinf));
39 assertClose(-Math.PI / 4, Math.atan2(ninf, pinf));
40 assertClose( 3 * Math.PI / 4, Math.atan2(pinf, ninf));
41 assertClose(-3 * Math.PI / 4, Math.atan2(ninf, ninf));
/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp155 for (pred_iterator PI = pred_begin(*BB), in ProcessLoop() local
156 PE = pred_end(*BB); PI != PE; ++PI) { in ProcessLoop()
157 BasicBlock *P = *PI; in ProcessLoop()
223 for (pred_iterator PI = pred_begin(ExitBlock), PE = pred_end(ExitBlock); in ProcessLoop() local
224 PI != PE; ++PI) in ProcessLoop()
227 if (!L->contains(*PI)) { in ProcessLoop()
368 for (pred_iterator PI = pred_begin(Header), PE = pred_end(Header); in InsertPreheaderForLoop() local
369 PI != PE; ++PI) { in InsertPreheaderForLoop()
370 BasicBlock *P = *PI; in InsertPreheaderForLoop()
607 for (pred_iterator PI=pred_begin(Header), E = pred_end(Header); PI!=E; ++PI) { in SeparateNestedLoop() local
[all …]
/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp369 for (MachineBasicBlock::pred_iterator PI = (*SI)->pred_begin(), in selectBestSuccessor() local
371 PI != PE; ++PI) { in selectBestSuccessor()
372 if (*PI == *SI || (BlockFilter && !BlockFilter->count(*PI)) || in selectBestSuccessor()
373 BlockToChain[*PI] == &Chain) in selectBestSuccessor()
376 = MBFI->getBlockFreq(*PI) * MBPI->getEdgeProbability(*PI, *SI); in selectBestSuccessor()
569 for (MachineBasicBlock::pred_iterator PI = L.getHeader()->pred_begin(), in findBestLoopTop() local
571 PI != PE; ++PI) { in findBestLoopTop()
572 MachineBasicBlock *Pred = *PI; in findBestLoopTop()
741 for (MachineBasicBlock::pred_iterator PI = Top->pred_begin(), in rotateLoop() local
743 PI != PE; ++PI) { in rotateLoop()
[all …]
DGCMetadata.cpp165 for (GCFunctionInfo::iterator PI = FD->begin(), in runOnFunction() local
166 PE = FD->end(); PI != PE; ++PI) { in runOnFunction()
168 OS << "\t" << PI->Label->getName() << ": " in runOnFunction()
169 << DescKind(PI->Kind) << ", live = {"; in runOnFunction()
171 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI), in runOnFunction()
172 RE = FD->live_end(PI);;) { in runOnFunction()
/external/webkit/LayoutTests/fast/xpath/4XPath/Core/
Dtest.js33 PI = DOM.firstChild;
34 while (PI.nodeType != Node.PROCESSING_INSTRUCTION_NODE)
35 PI = PI.nextSibling;
/external/llvm/tools/llvm-prof/
Dllvm-prof.cpp78 ProfileInfo &PI; member in __anon5d1c743d0211::ProfileAnnotator
80 ProfileAnnotator(ProfileInfo &pi) : PI(pi) {} in ProfileAnnotator()
84 double w = PI.getExecutionCount(F); in emitFunctionAnnot()
92 double w = PI.getExecutionCount(BB); in emitBasicBlockStartAnnot()
110 double w = ignoreMissing(PI.getEdgeWeight(std::make_pair(BB, Succ))); in emitBasicBlockEndAnnot()
149 ProfileInfo &PI = getAnalysis<ProfileInfo>(); in runOnModule() local
162 double w = ignoreMissing(PI.getExecutionCount(FI)); in runOnModule()
166 double w = ignoreMissing(PI.getExecutionCount(BB)); in runOnModule()
241 ProfileAnnotator PA(PI); in runOnModule()

1234567891011