Home
last modified time | relevance | path

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

12345678910>>...37

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DEarlyIfConversion.cpp412 PHIInfo &PI = PHIs.back(); in canConvertIf() local
414 for (unsigned i = 1; i != PI.PHI->getNumOperands(); i += 2) { in canConvertIf()
415 if (PI.PHI->getOperand(i+1).getMBB() == TPred) in canConvertIf()
416 PI.TReg = PI.PHI->getOperand(i).getReg(); in canConvertIf()
417 if (PI.PHI->getOperand(i+1).getMBB() == FPred) in canConvertIf()
418 PI.FReg = PI.PHI->getOperand(i).getReg(); in canConvertIf()
420 assert(TargetRegisterInfo::isVirtualRegister(PI.TReg) && "Bad PHI"); in canConvertIf()
421 assert(TargetRegisterInfo::isVirtualRegister(PI.FReg) && "Bad PHI"); in canConvertIf()
424 if (!TII->canInsertSelect(*Head, Cond, PI.TReg, PI.FReg, in canConvertIf()
425 PI.CondCycles, PI.TCycles, PI.FCycles)) { in canConvertIf()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DPassPrinters.cpp39 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in FunctionPassPrinter()
40 : FunctionPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in FunctionPassPrinter()
72 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in CallGraphSCCPassPrinter()
73 : CallGraphSCCPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in CallGraphSCCPassPrinter()
109 ModulePassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in ModulePassPrinter()
110 : ModulePass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in ModulePassPrinter()
141 LoopPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in LoopPassPrinter()
142 : LoopPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in LoopPassPrinter()
174 RegionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) in RegionPassPrinter()
175 : RegionPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { in RegionPassPrinter()
[all …]
/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 …]
/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/LLVM/include/llvm/
DPassAnalysisSupport.h130 Pass *findImplPass(AnalysisID PI) { in findImplPass() argument
133 if (AnalysisImpls[i].first == PI) { in findImplPass()
142 Pass *findImplPass(Pass *P, AnalysisID PI, Function &F);
144 void addAnalysisImplsPair(AnalysisID PI, Pass *P) { in addAnalysisImplsPair() argument
145 if (findImplPass(PI) == P) in addAnalysisImplsPair()
147 std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P); in addAnalysisImplsPair()
181 const void *PI = &AnalysisType::ID; in getAnalysisIfAvailable() local
183 Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, true); in getAnalysisIfAvailable()
190 return (AnalysisType*)ResultPass->getAdjustedAnalysisPointer(PI); in getAnalysisIfAvailable()
204 AnalysisType &Pass::getAnalysisID(AnalysisID PI) const { in getAnalysisID() argument
[all …]
/external/llvm/include/llvm/
DPassAnalysisSupport.h154 Pass *findImplPass(AnalysisID PI) { in findImplPass() argument
157 if (AnalysisImpl.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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/
DPassAnalysisSupport.h156 Pass *findImplPass(AnalysisID PI) { in findImplPass() argument
159 if (AnalysisImpl.first == PI) { in findImplPass()
168 Pass *findImplPass(Pass *P, AnalysisID PI, Function &F);
170 void addAnalysisImplsPair(AnalysisID PI, Pass *P) { in addAnalysisImplsPair() argument
171 if (findImplPass(PI) == P) in addAnalysisImplsPair()
173 std::pair<AnalysisID, Pass*> pir = std::make_pair(PI,P); in addAnalysisImplsPair()
205 const void *PI = &AnalysisType::ID; in getAnalysisIfAvailable() local
207 Pass *ResultPass = Resolver->getAnalysisIfAvailable(PI, true); in getAnalysisIfAvailable()
214 return (AnalysisType*)ResultPass->getAdjustedAnalysisPointer(PI); in getAnalysisIfAvailable()
227 AnalysisType &Pass::getAnalysisID(AnalysisID PI) const { in getAnalysisID() argument
[all …]
/external/swiftshader/third_party/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/icu/icu4j/main/classes/core/src/com/ibm/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/android_icu4j/src/main/java/android/icu/impl/
DCalendarAstronomer.java189 static private final double PI = 3.14159265358979323846; field in CalendarAstronomer
190 static private final double PI2 = PI * 2.0;
192 static private final double RAD_HOUR = 12 / PI; // radians -> hours
193 static private final double DEG_RAD = PI / 180; // degrees -> radians
194 static private final double RAD_DEG = 180 / PI; // radians -> degrees
485 double H = getLocalSidereal()*PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon()
511 static final double SUN_ETA_G = 279.403303 * PI/180; // Ecliptic longitude at epoch
512 static final double SUN_OMEGA_G = 282.768422 * PI/180; // Ecliptic longitude of perigee
642 public static final SolarLongitude SUMMER_SOLSTICE = new SolarLongitude(PI/2);
650 public static final SolarLongitude AUTUMN_EQUINOX = new SolarLongitude(PI);
[all …]
/external/icu/icu4c/source/i18n/
Dastro.cpp24 #if defined (PI)
25 #undef PI
203 const double CalendarAstronomer::PI = 3.14159265358979323846; member in CalendarAstronomer
205 #define CalendarAstronomer_PI2 (CalendarAstronomer::PI*2.0)
206 #define RAD_HOUR ( 12 / CalendarAstronomer::PI ) // radians -> hours
207 #define DEG_RAD ( CalendarAstronomer::PI / 180 ) // degrees -> radians
208 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees
224 return normalize(angle, CalendarAstronomer::PI * 2.0); in norm2PI()
231 …return normalize(angle + CalendarAstronomer::PI, CalendarAstronomer::PI * 2.0) - CalendarAstronome… in normPI()
505 … double H = getLocalSidereal()*CalendarAstronomer::PI/12 - equatorial.ascension; // Hour-angle in eclipticToHorizon()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZHazardRecognizer.cpp172 PI = SchedModel->getWriteProcResBegin(SC), in dumpSU() local
173 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in dumpSU()
175 *SchedModel->getProcResource(PI->ProcResourceIdx); in dumpSU()
186 if (PI->Cycles > 1) in dumpSU()
187 OS << "(" << PI->Cycles << "cyc)"; in dumpSU()
293 PI = SchedModel->getWriteProcResBegin(SC), in EmitInstruction() local
294 PE = SchedModel->getWriteProcResEnd(SC); PI != PE; ++PI) { in EmitInstruction()
296 if (SchedModel->getProcResource(PI->ProcResourceIdx)->BufferSize == 1) in EmitInstruction()
299 ProcResourceCounters[PI->ProcResourceIdx]; in EmitInstruction()
300 CurrCounter += PI->Cycles; in EmitInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCEarlyReturn.cpp70 for (MachineBasicBlock::pred_iterator PI = ReturnMBB.pred_begin(), in processBlock() local
71 PIE = ReturnMBB.pred_end(); PI != PIE; ++PI) { in processBlock()
74 if ((*PI)->empty()) in processBlock()
77 for (MachineBasicBlock::iterator J = (*PI)->getLastNonDebugInstr();;) { in processBlock()
78 if (J == (*PI)->end()) in processBlock()
85 BuildMI(**PI, J, J->getDebugLoc(), TII->get(I->getOpcode())) in processBlock()
97 BuildMI(**PI, J, J->getDebugLoc(), TII->get(PPC::BCCLR)) in processBlock()
112 **PI, J, J->getDebugLoc(), in processBlock()
134 if (J == (*PI)->begin()) in processBlock()
140 if ((*PI)->canFallThrough() && (*PI)->isLayoutSuccessor(&ReturnMBB)) in processBlock()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCEarlyReturn.cpp70 for (MachineBasicBlock::pred_iterator PI = ReturnMBB.pred_begin(), in processBlock() local
71 PIE = ReturnMBB.pred_end(); PI != PIE; ++PI) { in processBlock()
74 if ((*PI)->empty()) in processBlock()
77 for (MachineBasicBlock::iterator J = (*PI)->getLastNonDebugInstr();;) { in processBlock()
78 if (J == (*PI)->end()) in processBlock()
85 BuildMI(**PI, J, J->getDebugLoc(), TII->get(I->getOpcode())) in processBlock()
97 BuildMI(**PI, J, J->getDebugLoc(), TII->get(PPC::BCCLR)) in processBlock()
112 **PI, J, J->getDebugLoc(), in processBlock()
134 if (J == (*PI)->begin()) in processBlock()
140 if ((*PI)->canFallThrough() && (*PI)->isLayoutSuccessor(&ReturnMBB)) in processBlock()
[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/swiftshader/third_party/llvm-subzero/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/swiftshader/third_party/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DErlangGCPrinter.cpp83 for (GCFunctionInfo::iterator PI = MD.begin(), PE = MD.end(); PI != PE; in finishAssembly() local
84 ++PI) { in finishAssembly()
87 MCSymbol *Label = PI->Label; in finishAssembly()
93 GCFunctionInfo::iterator PI = MD.begin(); in finishAssembly() local
109 AP.emitInt16(MD.live_size(PI)); in finishAssembly()
112 for (GCFunctionInfo::live_iterator LI = MD.live_begin(PI), in finishAssembly()
113 LE = MD.live_end(PI); in finishAssembly()

12345678910>>...37