Home
last modified time | relevance | path

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

12345678910>>...15

/external/v8/test/mjsunit/
Dsin-cos.js50 assertEquals(1, Math.sin(Math.PI / 2));
55 assertEquals(-1, Math.cos(Math.PI));
123 test_inputs.push(Math.PI/2);
124 test_inputs.push(Math.PI/2 + epsilon);
125 test_inputs.push(Math.PI/2 - epsilon);
126 test_inputs.push(Math.PI);
127 test_inputs.push(Math.PI + epsilon);
128 test_inputs.push(Math.PI - epsilon);
129 test_inputs.push(- 2*Math.PI);
130 test_inputs.push(- 2*Math.PI + epsilon);
[all …]
/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*>", %"SmallVImpl<const PI*>"* %this, i64 0, i32 1
Dpartial-type-refinement.ll4 ; CHECK: load %PI*, %PI** getelementptr inbounds (%"RegisterP<LowerArrayLength>", %"RegisterP<Lower…
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*, %PI** getelementptr inbounds (%"RegisterP<LowerArrayLength>", %"RegisterP<LowerArr…
/external/llvm/tools/opt/
DPassPrinters.cpp33 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in FunctionPassPrinter()
34 : FunctionPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in FunctionPassPrinter()
66 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in CallGraphSCCPassPrinter()
67 : CallGraphSCCPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in CallGraphSCCPassPrinter()
103 ModulePassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in ModulePassPrinter()
104 : ModulePass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in ModulePassPrinter()
135 LoopPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in LoopPassPrinter()
136 : LoopPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in LoopPassPrinter()
168 RegionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in RegionPassPrinter()
169 : RegionPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in RegionPassPrinter()
[all …]
DPassPrinters.h28 FunctionPass *createFunctionPassPrinter(const PassInfo *PI, raw_ostream &out,
31 CallGraphSCCPass *createCallGraphPassPrinter(const PassInfo *PI,
34 ModulePass *createModulePassPrinter(const PassInfo *PI, raw_ostream &out,
37 LoopPass *createLoopPassPrinter(const PassInfo *PI, raw_ostream &out,
40 RegionPass *createRegionPassPrinter(const PassInfo *PI, raw_ostream &out,
43 BasicBlockPass *createBasicBlockPassPrinter(const PassInfo *PI,
/external/llvm/lib/CodeGen/
DEarlyIfConversion.cpp411 PHIInfo &PI = PHIs.back(); in canConvertIf() local
413 for (unsigned i = 1; i != PI.PHI->getNumOperands(); i += 2) { in canConvertIf()
414 if (PI.PHI->getOperand(i+1).getMBB() == TPred) in canConvertIf()
415 PI.TReg = PI.PHI->getOperand(i).getReg(); in canConvertIf()
416 if (PI.PHI->getOperand(i+1).getMBB() == FPred) in canConvertIf()
417 PI.FReg = PI.PHI->getOperand(i).getReg(); in canConvertIf()
419 assert(TargetRegisterInfo::isVirtualRegister(PI.TReg) && "Bad PHI"); in canConvertIf()
420 assert(TargetRegisterInfo::isVirtualRegister(PI.FReg) && "Bad PHI"); in canConvertIf()
423 if (!TII->canInsertSelect(*Head, Cond, PI.TReg, PI.FReg, in canConvertIf()
424 PI.CondCycles, PI.TCycles, PI.FCycles)) { in canConvertIf()
[all …]
/external/llvm/include/llvm/
DPassAnalysisSupport.h154 Pass *findImplPass(AnalysisID PI) { in findImplPass() argument
157 if (AnalysisImpls[i].first == PI) { in findImplPass()
166 Pass *findImplPass(Pass *P, AnalysisID PI, Function &F);
168 void addAnalysisImplsPair(AnalysisID PI, Pass *P) { in addAnalysisImplsPair() argument
169 if (findImplPass(PI) == P) in addAnalysisImplsPair()
171 std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P); in addAnalysisImplsPair()
204 const void *PI = &AnalysisType::ID; in getAnalysisIfAvailable() local
206 Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, true); in getAnalysisIfAvailable()
213 return (AnalysisType*)ResultPass->getAdjustedAnalysisPointer(PI); in getAnalysisIfAvailable()
227 AnalysisType &Pass::getAnalysisID(AnalysisID PI) const { in getAnalysisID() argument
[all …]
DPassSupport.h58 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
60 Registry.registerPass(*PI, true); \
61 return PI; \
76 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
78 Registry.registerPass(*PI, true); \
79 return PI; \
187 PassInfo *PI = new PassInfo(name, arg, & passName ::ID, \
189 Registry.registerPass(*PI, true); \
206 PassInfo *PI = new PassInfo(n, arg, & passName ::ID, \
208 Registry.registerPass(*PI, true); \
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarAstronomer.java186 static private final double PI = 3.14159265358979323846; field in CalendarAstronomer
187 static private final double PI2 = PI * 2.0;
189 static private final double RAD_HOUR = 12 / PI; // radians -> hours
190 static private final double DEG_RAD = PI / 180; // degrees -> radians
191 static private final double RAD_DEG = 180 / PI; // radians -> degrees
480 double H = getLocalSidereal()*PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon()
506 static final double SUN_ETA_G = 279.403303 * PI/180; // Ecliptic longitude at epoch
507 static final double SUN_OMEGA_G = 282.768422 * PI/180; // Ecliptic longitude of perigee
637 public static final SolarLongitude SUMMER_SOLSTICE = new SolarLongitude(PI/2);
645 public static final SolarLongitude AUTUMN_EQUINOX = new SolarLongitude(PI);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java184 static private final double PI = 3.14159265358979323846; field in CalendarAstronomer
185 static private final double PI2 = PI * 2.0;
187 static private final double RAD_HOUR = 12 / PI; // radians -> hours
188 static private final double DEG_RAD = PI / 180; // degrees -> radians
189 static private final double RAD_DEG = 180 / PI; // radians -> degrees
478 double H = getLocalSidereal()*PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon()
504 static final double SUN_ETA_G = 279.403303 * PI/180; // Ecliptic longitude at epoch
505 static final double SUN_OMEGA_G = 282.768422 * PI/180; // Ecliptic longitude of perigee
635 public static final SolarLongitude SUMMER_SOLSTICE = new SolarLongitude(PI/2);
643 public static final SolarLongitude AUTUMN_EQUINOX = new SolarLongitude(PI);
[all …]
/external/icu/icu4c/source/i18n/
Dastro.cpp22 #if defined (PI)
23 #undef PI
201 const double CalendarAstronomer::PI = 3.14159265358979323846; member in CalendarAstronomer
203 #define CalendarAstronomer_PI2 (CalendarAstronomer::PI*2.0)
204 #define RAD_HOUR ( 12 / CalendarAstronomer::PI ) // radians -> hours
205 #define DEG_RAD ( CalendarAstronomer::PI / 180 ) // degrees -> radians
206 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees
222 return normalize(angle, CalendarAstronomer::PI * 2.0); in norm2PI()
229 …return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronome… in normPI()
503 … double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCEarlyReturn.cpp71 for (MachineBasicBlock::pred_iterator PI = ReturnMBB.pred_begin(), in processBlock() local
72 PIE = ReturnMBB.pred_end(); PI != PIE; ++PI) { in processBlock()
75 if ((*PI)->empty()) in processBlock()
78 for (MachineBasicBlock::iterator J = (*PI)->getLastNonDebugInstr();;) { in processBlock()
79 if (J == (*PI)->end()) in processBlock()
86 BuildMI(**PI, J, J->getDebugLoc(), TII->get(I->getOpcode())) in processBlock()
98 BuildMI(**PI, J, J->getDebugLoc(), TII->get(PPC::BCCLR)) in processBlock()
113 **PI, J, J->getDebugLoc(), in processBlock()
135 if (J == (*PI)->begin()) in processBlock()
141 if ((*PI)->canFallThrough() && (*PI)->isLayoutSuccessor(&ReturnMBB)) in processBlock()
[all …]
/external/llvm/utils/TableGen/
DSubtargetEmitter.cpp368 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitStageAndOperandCycleData() local
369 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitStageAndOperandCycleData()
371 if (!ItinsDefSet.insert(PI->ItinsDef).second) in EmitStageAndOperandCycleData()
374 std::vector<Record*> FUs = PI->ItinsDef->getValueAsListOfDefs("FU"); in EmitStageAndOperandCycleData()
378 const std::string &Name = PI->ItinsDef->getName(); in EmitStageAndOperandCycleData()
388 std::vector<Record*> BPs = PI->ItinsDef->getValueAsListOfDefs("BP"); in EmitStageAndOperandCycleData()
422 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitStageAndOperandCycleData() local
423 PE = SchedModels.procModelEnd(); PI != PE; ++PI) { in EmitStageAndOperandCycleData()
424 const CodeGenProcModel &ProcModel = *PI; in EmitStageAndOperandCycleData()
546 for (CodeGenSchedModels::ProcIter PI = SchedModels.procModelBegin(), in EmitItineraries() local
[all …]
/external/clang/test/Rewriter/
Dobjc-modern-StretAPI.mm24 I* PI(); function
29 struct S s = [PI() Meth : 1 : (id)0];
31 U u = [PI() Meth2 : 3.14];
33 S s1 = [PI() VAMeth : 12, 13.4, 1000, "hello"];
35 S s2 = [PI() VAMeth : 12];
37 S s3 = [PI() VAMeth : 0, "hello", "there"];
39 S s4 = [PI() VAMeth : 2, ^{}, &foo];
41 return [PI() Meth1];
/external/llvm/lib/Support/
DProgram.cpp26 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args,
34 ProcessInfo PI; in ExecuteAndWait() local
35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { in ExecuteAndWait()
39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg); in ExecuteAndWait()
53 ProcessInfo PI; in ExecuteNoWait() local
56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteNoWait()
60 return PI; in ExecuteNoWait()
/external/llvm/lib/CodeGen/AsmPrinter/
DErlangGCPrinter.cpp86 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; in finishAssembly() local
87 ++PI) { in finishAssembly()
90 MCSymbol *Label = PI->Label; in finishAssembly()
96 GCFunctionInfo::iterator PI = MD.begin(); in finishAssembly() local
112 AP.EmitInt16(MD.live_size(PI)); in finishAssembly()
115 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), in finishAssembly()
116 LE = MD.live_end(PI); in finishAssembly()
/external/skia/experimental/docs/
DexampleSlides.js80 { "line": [ 200,200, 200 + circle.radius * Math.cos(-22.5 * Math.PI / 180),
81 200 + circle.radius * Math.sin(-22.5 * Math.PI / 180) ] }
456 "range":[-22.5 * Math.PI / 180, (-22.5 - 360) * Math.PI / 180], "params":"circle",
460 "range":[-22.5 * Math.PI / 180, (-22.5 - 360) * Math.PI / 180], "params":"circle",
/external/crcalc/tests/src/com/hp/creals/
DSlowCRTest.java54 final static CR HALF_PI = CR.PI.divide(CR.valueOf(2));
59 .monotoneDerivative(ZERO, CR.PI);
111 check(isApprInt(tmp.subtract(x).divide(CR.PI)) in checkTrig()
112 || isApprInt(tmp.add(x).divide(CR.PI)), in checkTrig()
120 check(isApprInt(tmp.subtract(x).divide(CR.PI)) in checkTrig()
121 || isApprInt(tmp.add(x).divide(CR.PI)), in checkTrig()
165 checkEq(ZERO.acos(), CR.PI.divide(TWO), "acos(0)"); in testSlowTrig()
167 checkEq(ONE.negate().acos(), CR.PI, "acos(-1)"); in testSlowTrig()
169 checkEq(ONE.asin(), CR.PI.divide(TWO), "asin(1)"); in testSlowTrig()
170 checkEq(ONE.negate().asin(), CR.PI.divide(TWO).negate(), "asin(-1)"); in testSlowTrig()
[all …]
/external/libxml2/result/XPath/tests/
Dnodespat21 7 PI target
30 12 PI target
45 6 PI target
54 11 PI target
70 7 PI target
79 12 PI target
93 5 PI target
/external/llvm/lib/IR/
DPass.cpp63 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(AID); in getPassName() local
64 if (PI) in getPassName()
65 return PI->getPassName(); in getPassName()
196 const PassInfo *PI = PassRegistry::getPassRegistry()->getPassInfo(ID); in createPass() local
197 if (!PI) in createPass()
199 return PI->createPass(); in createPass()
270 const PassInfo *PI = Pass::lookupPassInfo(Arg); in addPreserved() local
272 if (PI) Preserved.push_back(PI->getTypeInfo()); in addPreserved()
DPassRegistry.cpp57 void PassRegistry::registerPass(const PassInfo &PI, bool ShouldFree) { in registerPass() argument
60 PassInfoMap.insert(std::make_pair(PI.getTypeInfo(), &PI)).second; in registerPass()
63 PassInfoStringMap[PI.getPassArgument()] = &PI; in registerPass()
67 Listener->passRegistered(&PI); in registerPass()
70 ToFree.push_back(std::unique_ptr<const PassInfo>(&PI)); in registerPass()
/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h137 for (typename InvBlockTraits::ChildIteratorType PI = in getLoopPredecessor() local
139 PE = InvBlockTraits::child_end(Header); PI != PE; ++PI) { in getLoopPredecessor()
140 typename InvBlockTraits::NodeType *N = *PI; in getLoopPredecessor()
159 typename InvBlockTraits::ChildIteratorType PI = in getLoopLatch() local
164 for (; PI != PE; ++PI) { in getLoopLatch()
165 typename InvBlockTraits::NodeType *N = *PI; in getLoopLatch()
256 for (typename InvBlockTraits::ChildIteratorType PI = in verifyLoop() local
258 PI != PE; ++PI) { in verifyLoop()
259 BlockT *N = *PI; in verifyLoop()
393 for (typename InvBlockTraits::ChildIteratorType PI = in discoverAndMapSubloop() local
[all …]
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp425 for (pred_iterator PI = pred_begin(BB), PE = pred_end(BB); in gatherPredicates() local
426 PI != PE; ++PI) { in gatherPredicates()
429 if (!ParentRegion->contains(*PI)) in gatherPredicates()
432 Region *R = RI->getRegionFor(*PI); in gatherPredicates()
436 BranchInst *Term = cast<BranchInst>((*PI)->getTerminator()); in gatherPredicates()
442 if (Visited.count(*PI)) { in gatherPredicates()
448 !Pred.count(Other) && !Pred.count(*PI)) { in gatherPredicates()
451 Pred[*PI] = BoolTrue; in gatherPredicates()
455 Pred[*PI] = buildCondition(Term, i, false); in gatherPredicates()
459 LPred[*PI] = buildCondition(Term, i, true); in gatherPredicates()
[all …]
/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.symbol.min.js7PI)/2;ctx.rect(x-size,y-size,size+size,size+size)},diamond:function(ctx,x,y,radius,shadow){var siz…
Djquery.flot.symbol.js24 var size = radius * Math.sqrt(Math.PI) / 2;
29 var size = radius * Math.sqrt(Math.PI / 2);
38 var size = radius * Math.sqrt(2 * Math.PI / Math.sin(Math.PI / 3));
39 var height = size * Math.sin(Math.PI / 3);
49 var size = radius * Math.sqrt(Math.PI) / 2;

12345678910>>...15