/external/clang/lib/AST/ |
H A D | ASTTypeTraits.cpp | 53 unsigned Dist = 0; local 56 ++Dist; 59 *Distance = Dist;
|
/external/llvm/lib/Target/X86/ |
H A D | X86OptimizeLEAs.cpp | 62 /// and \p Dist. 65 int64_t &AddrDispShift, int &Dist); 123 int64_t &AddrDispShift, int &Dist) { 168 Dist = DistTemp; 260 int Dist; local 261 if (!chooseBestLEA(List, MI, DefMI, AddrDispShift, Dist)) 270 if (Dist < 0) { 121 chooseBestLEA(const SmallVectorImpl<MachineInstr *> &List, const MachineInstr &MI, MachineInstr *&LEA, int64_t &AddrDispShift, int &Dist) argument
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopLoadElimination.cpp | 83 auto *Dist = cast<SCEVConstant>( local 85 const APInt &Val = Dist->getAPInt();
|
/external/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfoImpl.cpp | 76 DitheringDistributer(Distribution &Dist, const BlockMass &Mass); 83 DitheringDistributer::DitheringDistributer(Distribution &Dist, 85 Dist.normalize(); 86 RemWeight = Dist.Total; 260 bool BlockFrequencyInfoImplBase::addToDist(Distribution &Dist, argument 289 Dist.addBackedge(Resolved, Weight); 295 Dist.addExit(Resolved, Weight); 318 Dist.addLocal(Resolved, Weight); 323 const LoopData *OuterLoop, LoopData &Loop, Distribution &Dist) { 324 // Copy the exit map into Dist 322 addLoopSuccessorsToDist( const LoopData *OuterLoop, LoopData &Loop, Distribution &Dist) argument 394 distributeMass(const BlockNode &Source, LoopData *OuterLoop, Distribution &Dist) argument 745 Distribution Dist; local [all...] |
H A D | LoopAccessAnalysis.cpp | 1071 const SCEV *Dist = PSE.getSE()->getMinusSCEV(Sink, Src); local 1076 << *InstMap[BIdx] << ": " << *Dist << "\n"); local 1086 const SCEVConstant *C = dyn_cast<SCEVConstant>(Dist);
|
/external/llvm/lib/CodeGen/ |
H A D | LiveVariables.cpp | 202 unsigned Dist = DistanceMap[Def]; local 203 if (Dist > LastDefDist) { 206 LastDefDist = Dist; 296 unsigned Dist = DistanceMap[Def]; local 297 if (Dist > LastPartDefDist) 298 LastPartDefDist = Dist; 300 unsigned Dist = DistanceMap[Use]; local 301 if (Dist > LastRefOrPartRefDist) { 302 LastRefOrPartRefDist = Dist; 345 unsigned Dist local 356 unsigned Dist = DistanceMap[Use]; local 574 unsigned Dist = 0; local [all...] |
H A D | TwoAddressInstructionPass.cpp | 107 bool noUseAfterLastDef(unsigned Reg, unsigned Dist, unsigned &LastDef); 110 MachineInstr *MI, unsigned Dist); 113 unsigned RegBIdx, unsigned RegCIdx, unsigned Dist); 119 unsigned RegA, unsigned RegB, unsigned Dist); 121 bool isDefTooClose(unsigned Reg, unsigned Dist, MachineInstr *MI); 133 unsigned Dist, bool shouldOnlyCommute); 139 unsigned Dist); 147 void processTiedPairs(MachineInstr *MI, TiedPairList&, unsigned &Dist); 356 bool TwoAddressInstructionPass::noUseAfterLastDef(unsigned Reg, unsigned Dist, argument 359 unsigned LastUse = Dist; 547 isProfitableToCommute(unsigned regA, unsigned regB, unsigned regC, MachineInstr *MI, unsigned Dist) argument 644 commuteInstruction(MachineInstr *MI, unsigned RegBIdx, unsigned RegCIdx, unsigned Dist) argument 692 convertInstTo3Addr(MachineBasicBlock::iterator &mi, MachineBasicBlock::iterator &nmi, unsigned RegA, unsigned RegB, unsigned Dist) argument 985 isDefTooClose(unsigned Reg, unsigned Dist, MachineInstr *MI) argument 1163 tryInstructionCommute(MachineInstr *MI, unsigned DstOpIdx, unsigned BaseOpIdx, bool BaseOpKilled, unsigned Dist) argument 1214 tryInstructionTransform(MachineBasicBlock::iterator &mi, MachineBasicBlock::iterator &nmi, unsigned SrcIdx, unsigned DstIdx, unsigned Dist, bool shouldOnlyCommute) argument 1448 processTiedPairs(MachineInstr *MI, TiedPairList &TiedPairs, unsigned &Dist) argument 1635 unsigned Dist = 0; local [all...] |
/external/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyInfoImpl.h | 391 /// Adds all edges from LocalLoopHead to Dist. Calls addToDist() to add each 396 Distribution &Dist); 400 /// Adds an edge to Succ to Dist. If \c LoopHead.isValid(), then whether the 405 bool addToDist(Distribution &Dist, const LoopData *OuterLoop, 435 /// Distributes the mass in Source according to Dist. If LoopHead.isValid(), 440 Distribution &Dist); 1189 Distribution Dist; local 1192 if (!addLoopSuccessorsToDist(OuterLoop, *Loop, Dist)) 1199 if (!addToDist(Dist, OuterLoop, Node, getNode(*SI), 1207 distributeMass(Node, OuterLoop, Dist); [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonHardwareLoops.cpp | 741 int64_t Dist = EndV - StartV; local 742 if (Dist == 0) 745 bool Exact = (Dist % IVBump) == 0; 750 if ((Dist < 0) ^ (IVBump < 0)) 757 Dist = Dist > 0 ? Dist+1 : Dist-1; 759 // For the loop to iterate, CmpLess should imply Dist > 0. Similarly, 760 // CmpGreater should imply Dist < [all...] |
/external/llvm/lib/Target/ARM/ |
H A D | ARMBaseInstrInfo.cpp | 3409 unsigned &DefIdx, unsigned &Dist) { 3410 Dist = 0; 3422 ++Dist; 3432 unsigned &UseIdx, unsigned &Dist) { 3433 Dist = 0; 3446 ++Dist; 3451 Dist = 0; 3407 getBundledDefMI(const TargetRegisterInfo *TRI, const MachineInstr *MI, unsigned Reg, unsigned &DefIdx, unsigned &Dist) argument 3430 getBundledUseMI(const TargetRegisterInfo *TRI, const MachineInstr *MI, unsigned Reg, unsigned &UseIdx, unsigned &Dist) argument
|
/external/llvm/lib/Transforms/Utils/ |
H A D | SimplifyCFG.cpp | 4227 APInt Dist = Val - PrevVal; local 4229 DistToPrev = Dist; 4230 } else if (Dist != DistToPrev) {
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 9236 unsigned Bytes, int Dist, 9251 return MFI->getObjectOffset(FI) == (MFI->getObjectOffset(BFI) + Dist*Bytes); 9258 if (Base1 == Base2 && Offset1 == (Offset2 + Dist * Bytes)) 9269 return Offset1 == (Offset2 + Dist*Bytes); 9276 unsigned Bytes, int Dist, 9281 return isConsecutiveLSLoc(Loc, VT, Base, Bytes, Dist, DAG); 9325 return isConsecutiveLSLoc(N->getOperand(2), VT, Base, Bytes, Dist, DAG); 9369 return isConsecutiveLSLoc(N->getOperand(3), VT, Base, Bytes, Dist, DAG); 9235 isConsecutiveLSLoc(SDValue Loc, EVT VT, LSBaseSDNode *Base, unsigned Bytes, int Dist, SelectionDAG &DAG) argument 9275 isConsecutiveLS(SDNode *N, LSBaseSDNode *Base, unsigned Bytes, int Dist, SelectionDAG &DAG) argument
|