/external/llvm/lib/Target/ARM/ |
D | ARMCallingConv.h | 29 static bool f64AssignAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in f64AssignAPCS() argument 36 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS() 43 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS() 51 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS() 53 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS() 59 static bool CC_ARM_APCS_Custom_f64(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_ARM_APCS_Custom_f64() argument 63 if (!f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, true)) in CC_ARM_APCS_Custom_f64() 66 !f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, false)) in CC_ARM_APCS_Custom_f64() 72 static bool f64AssignAAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in f64AssignAAPCS() argument 86 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAAPCS() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | CallingConvLower.h | 46 unsigned ValNo; 67 static CCValAssign getReg(unsigned ValNo, MVT ValVT, in getReg() argument 71 Ret.ValNo = ValNo; in getReg() 81 static CCValAssign getCustomReg(unsigned ValNo, MVT ValVT, in getCustomReg() argument 85 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP); in getCustomReg() 90 static CCValAssign getMem(unsigned ValNo, MVT ValVT, in getMem() argument 94 Ret.ValNo = ValNo; in getMem() 104 static CCValAssign getCustomMem(unsigned ValNo, MVT ValVT, in getCustomMem() argument 108 Ret = getMem(ValNo, ValVT, Offset, LocVT, HTP); in getCustomMem() 113 unsigned getValNo() const { return ValNo; } in getValNo() [all …]
|
D | LiveInterval.h | 282 inline VNInfo *getValNumInfo(unsigned ValNo) { 283 return valnos[ValNo]; 285 inline const VNInfo *getValNumInfo(unsigned ValNo) const { 286 return valnos[ValNo]; 487 void removeValNo(VNInfo *ValNo);
|
D | LiveIntervalAnalysis.h | 297 bool isReMaterializable(const LiveInterval &li, const VNInfo *ValNo, 377 bool isReMaterializable(const LiveInterval &li, const VNInfo *ValNo,
|
/external/clang/lib/Basic/ |
D | Diagnostic.cpp | 340 static void HandleSelectModifier(const DiagnosticInfo &DInfo, unsigned ValNo, in HandleSelectModifier() argument 346 while (ValNo) { in HandleSelectModifier() 351 --ValNo; in HandleSelectModifier() 364 static void HandleIntegerSModifier(unsigned ValNo, in HandleIntegerSModifier() argument 366 if (ValNo != 1) in HandleIntegerSModifier() 374 static void HandleOrdinalModifier(unsigned ValNo, in HandleOrdinalModifier() argument 376 assert(ValNo != 0 && "ValNo must be strictly positive!"); in HandleOrdinalModifier() 382 Out << ValNo; in HandleOrdinalModifier() 386 switch (ValNo % 100) { in HandleOrdinalModifier() 392 switch (ValNo % 10) { in HandleOrdinalModifier() [all …]
|
/external/llvm/lib/CodeGen/ |
D | LiveInterval.cpp | 137 void LiveInterval::markValNoForDeletion(VNInfo *ValNo) { in markValNoForDeletion() argument 138 if (ValNo->id == getNumValNums()-1) { in markValNoForDeletion() 143 ValNo->setIsUnused(true); in markValNoForDeletion() 189 VNInfo *ValNo = I->valno; in extendIntervalEndTo() local 194 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendIntervalEndTo() 206 if (Next != ranges.end() && Next->start <= I->end && Next->valno == ValNo) { in extendIntervalEndTo() 219 VNInfo *ValNo = I->valno; in extendIntervalStartTo() local 229 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendIntervalStartTo() 235 if (MergeTo->end >= NewStart && MergeTo->valno == ValNo) { in extendIntervalStartTo() 324 VNInfo *ValNo = I->valno; in removeRange() local [all …]
|
D | LiveIntervalAnalysis.cpp | 315 VNInfo *ValNo = interval.getNextValue(defIndex, CopyMI, VNInfoAllocator); in handleVirtualRegisterDef() local 316 assert(ValNo->id == 0 && "First value in interval is not 0?"); in handleVirtualRegisterDef() 335 LiveRange LR(defIndex, killIdx, ValNo); in handleVirtualRegisterDef() 346 LiveRange NewLR(defIndex, getMBBEndIdx(mbb), ValNo); in handleVirtualRegisterDef() 357 ValNo->setHasPHIKill(true); in handleVirtualRegisterDef() 365 LiveRange LR(getMBBStartIdx(aliveBlock), getMBBEndIdx(aliveBlock), ValNo); in handleVirtualRegisterDef() 383 ValNo = interval.getNextValue(Start, 0, VNInfoAllocator); in handleVirtualRegisterDef() 384 ValNo->setIsPHIDef(true); in handleVirtualRegisterDef() 386 LiveRange LR(Start, killIdx, ValNo); in handleVirtualRegisterDef() 429 VNInfo *ValNo = interval.createValueCopy(OldValNo, VNInfoAllocator); in handleVirtualRegisterDef() local [all …]
|
D | CallingConvLower.cpp | 42 void CCState::HandleByVal(unsigned ValNo, MVT ValVT, in HandleByVal() argument 56 addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in HandleByVal()
|
D | RegisterCoalescer.cpp | 656 VNInfo *ValNo = BValNo; in RemoveCopyByCommutingDef() local 657 ValNo->def = AValNo->def; in RemoveCopyByCommutingDef() 658 ValNo->setCopy(0); in RemoveCopyByCommutingDef() 662 IntB.addRange(LiveRange(AI->start, AI->end, ValNo)); in RemoveCopyByCommutingDef() 682 VNInfo *ValNo = SrcLR->valno; in ReMaterializeTrivialDef() local 685 if (ValNo->isPHIDef() || ValNo->isUnused() || ValNo->hasPHIKill()) in ReMaterializeTrivialDef() 687 MachineInstr *DefMI = li_->getInstructionFromIndex(ValNo->def); in ReMaterializeTrivialDef()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.h | 236 unsigned ValNo = (unsigned)Record[Slot++]; in getValueTypePair() local 237 if (ValNo < InstNum) { in getValueTypePair() 240 ResVal = getFnValueByID(ValNo, 0); in getValueTypePair() 247 ResVal = getFnValueByID(ValNo, getTypeByID(TypeNo)); in getValueTypePair() 253 unsigned ValNo = (unsigned)Record[Slot++]; in getValue() local 254 ResVal = getFnValueByID(ValNo, Ty); in getValue()
|
/external/llvm/lib/Support/ |
D | CommandLine.cpp | 749 unsigned ValNo = 0, NumVals = static_cast<unsigned>(PositionalVals.size()); in ParseCommandLineOptions() local 752 ProvidePositionalOption(PositionalOpts[i], PositionalVals[ValNo].first, in ParseCommandLineOptions() 753 PositionalVals[ValNo].second); in ParseCommandLineOptions() 754 ValNo++; in ParseCommandLineOptions() 763 while (NumVals-ValNo > NumPositionalRequired && !Done) { in ParseCommandLineOptions() 771 PositionalVals[ValNo].first, in ParseCommandLineOptions() 772 PositionalVals[ValNo].second); in ParseCommandLineOptions() 773 ValNo++; in ParseCommandLineOptions() 783 unsigned ValNo = 0; in ParseCommandLineOptions() local 787 PositionalVals[ValNo].first, in ParseCommandLineOptions() [all …]
|
/external/llvm/utils/PerfectShuffle/ |
D | PerfectShuffle.cpp | 158 static void PrintOperation(unsigned ValNo, unsigned short Vals[]) { in PrintOperation() argument 159 unsigned short ThisOp = Vals[ValNo]; in PrintOperation() 160 std::cerr << "t" << ValNo; in PrintOperation() 176 if (!ShufTab[Vals[ValNo]].Op->isOnlyLHSOperator()) { in PrintOperation()
|
/external/llvm/lib/Target/Sparc/ |
D | SparcISelLowering.cpp | 37 static bool CC_Sparc_Assign_SRet(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_SRet() argument 44 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_SRet() 50 static bool CC_Sparc_Assign_f64(unsigned &ValNo, MVT &ValVT, in CC_Sparc_Assign_f64() argument 59 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_f64() 62 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_f64() 70 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_Sparc_Assign_f64() 72 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in CC_Sparc_Assign_f64()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 2090 uint32_t ValNo = VN.lookup(CurInst); in performPRE() local 2117 Value* predV = findLeader(P, ValNo); in performPRE() 2180 VN.add(PREInstr, ValNo); in performPRE() 2184 addToLeaderTable(ValNo, PREInstr, PREPred); in performPRE() 2196 VN.add(Phi, ValNo); in performPRE() 2197 addToLeaderTable(ValNo, Phi, CurrentBlock); in performPRE() 2214 removeFromLeaderTable(ValNo, CurInst, CurrentBlock); in performPRE()
|
D | ObjCARC.cpp | 3554 unsigned ValNo = in runOnFunction() local 3557 PHI->getIncomingBlock(ValNo); in runOnFunction()
|
/external/llvm/lib/Target/MBlaze/ |
D | MBlazeISelLowering.cpp | 38 static bool CC_MBlaze_AssignReg(unsigned &ValNo, MVT &ValVT, MVT &LocVT, 654 static bool CC_MBlaze_AssignReg(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_MBlaze_AssignReg() argument 669 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_MBlaze_AssignReg()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 1560 static bool CC_MipsO32(unsigned ValNo, MVT ValVT, in CC_MipsO32() argument 1578 State.HandleByVal(ValNo, ValVT, LocVT, LocInfo, in CC_MipsO32() 1603 bool AllocateFloatsInIntReg = State.isVarArg() || ValNo > 1 in CC_MipsO32() 1604 || State.getFirstUnallocated(F32Regs, FloatRegsSize) != ValNo; in CC_MipsO32() 1644 State.addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in CC_MipsO32() 1646 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_MipsO32()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 41 static bool CC_PPC_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT, 45 static bool CC_PPC_SVR4_Custom_AlignArgRegs(unsigned &ValNo, MVT &ValVT, 50 static bool CC_PPC_SVR4_Custom_AlignFPArgRegs(unsigned &ValNo, MVT &ValVT, 1512 static bool CC_PPC_SVR4_Custom_Dummy(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_PPC_SVR4_Custom_Dummy() argument 1519 static bool CC_PPC_SVR4_Custom_AlignArgRegs(unsigned &ValNo, MVT &ValVT, in CC_PPC_SVR4_Custom_AlignArgRegs() argument 1546 static bool CC_PPC_SVR4_Custom_AlignFPArgRegs(unsigned &ValNo, MVT &ValVT, in CC_PPC_SVR4_Custom_AlignFPArgRegs() argument
|