Home
last modified time | relevance | path

Searched refs:ValNo (Results 1 – 25 of 51) sorted by relevance

123

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMCallingConv.h29 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/swiftshader/third_party/LLVM/lib/Target/X86/
DX86GenCallingConv.inc9 static bool CC_X86(unsigned ValNo, MVT ValVT,
12 static bool CC_X86_32(unsigned ValNo, MVT ValVT,
15 static bool CC_X86_32_C(unsigned ValNo, MVT ValVT,
18 static bool CC_X86_32_Common(unsigned ValNo, MVT ValVT,
21 static bool CC_X86_32_FastCC(unsigned ValNo, MVT ValVT,
24 static bool CC_X86_32_FastCall(unsigned ValNo, MVT ValVT,
27 static bool CC_X86_32_GHC(unsigned ValNo, MVT ValVT,
30 static bool CC_X86_32_ThisCall(unsigned ValNo, MVT ValVT,
33 static bool CC_X86_64(unsigned ValNo, MVT ValVT,
36 static bool CC_X86_64_C(unsigned ValNo, MVT ValVT,
[all …]
/external/llvm/lib/Target/ARM/
DARMCallingConv.h28 static bool f64AssignAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in f64AssignAPCS() argument
35 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS()
42 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS()
50 State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in f64AssignAPCS()
52 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAPCS()
58 static bool CC_ARM_APCS_Custom_f64(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_ARM_APCS_Custom_f64() argument
62 if (!f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, true)) in CC_ARM_APCS_Custom_f64()
65 !f64AssignAPCS(ValNo, ValVT, LocVT, LocInfo, State, false)) in CC_ARM_APCS_Custom_f64()
71 static bool f64AssignAAPCS(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in f64AssignAAPCS() argument
91 State.addLoc(CCValAssign::getCustomMem(ValNo, ValVT, in f64AssignAAPCS()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DCallingConvLower.h46 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 …]
DLiveInterval.h283 inline VNInfo *getValNumInfo(unsigned ValNo) {
284 return valnos[ValNo];
286 inline const VNInfo *getValNumInfo(unsigned ValNo) const {
287 return valnos[ValNo];
495 void removeValNo(VNInfo *ValNo);
/external/llvm/include/llvm/CodeGen/
DCallingConvLower.h56 unsigned ValNo;
77 static CCValAssign getReg(unsigned ValNo, MVT ValVT, in getReg() argument
81 Ret.ValNo = ValNo; in getReg()
91 static CCValAssign getCustomReg(unsigned ValNo, MVT ValVT, in getCustomReg() argument
95 Ret = getReg(ValNo, ValVT, RegNo, LocVT, HTP); in getCustomReg()
100 static CCValAssign getMem(unsigned ValNo, MVT ValVT, in getMem() argument
104 Ret.ValNo = ValNo; in getMem()
114 static CCValAssign getCustomMem(unsigned ValNo, MVT ValVT, in getCustomMem() argument
118 Ret = getMem(ValNo, ValVT, Offset, LocVT, HTP); in getCustomMem()
125 static CCValAssign getPending(unsigned ValNo, MVT ValVT, MVT LocVT,
[all …]
DLiveInterval.h293 inline VNInfo *getValNumInfo(unsigned ValNo) { in getValNumInfo() argument
294 return valnos[ValNo]; in getValNumInfo()
296 inline const VNInfo *getValNumInfo(unsigned ValNo) const { in getValNumInfo() argument
297 return valnos[ValNo]; in getValNumInfo()
535 void removeValNo(VNInfo *ValNo);
/external/llvm/lib/Target/SystemZ/
DSystemZCallingConv.h79 bool IsFixed(unsigned ValNo) { return ArgIsFixed[ValNo]; } in IsFixed() argument
80 bool IsShortVector(unsigned ValNo) { return ArgIsShortVector[ValNo]; } in IsShortVector() argument
88 inline bool CC_SystemZ_I128Indirect(unsigned &ValNo, MVT &ValVT, in CC_SystemZ_I128Indirect() argument
103 PendingMembers.push_back(CCValAssign::getPending(ValNo, ValVT, in CC_SystemZ_I128Indirect()
/external/llvm/lib/Target/Mips/
DMipsCCState.h127 bool WasOriginalArgF128(unsigned ValNo) { return OriginalArgWasF128[ValNo]; } in WasOriginalArgF128() argument
128 bool WasOriginalArgFloat(unsigned ValNo) { in WasOriginalArgFloat() argument
129 return OriginalArgWasFloat[ValNo]; in WasOriginalArgFloat()
131 bool IsCallOperandFixed(unsigned ValNo) { return CallOperandIsFixed[ValNo]; } in IsCallOperandFixed() argument
/external/llvm/lib/Target/X86/
DX86CallingConv.h24 inline bool CC_X86_32_VectorCallIndirect(unsigned &ValNo, MVT &ValVT, in CC_X86_32_VectorCallIndirect() argument
46 inline bool CC_X86_32_MCUInReg(unsigned &ValNo, MVT &ValVT, in CC_X86_32_MCUInReg() argument
64 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_X86_32_MCUInReg()
73 State.addLoc(CCValAssign::getReg(ValNo, ValVT, Reg, LocVT, LocInfo)); in CC_X86_32_MCUInReg()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveInterval.cpp137 void LiveInterval::markValNoForDeletion(VNInfo *ValNo) { in markValNoForDeletion() argument
138 if (ValNo->id == getNumValNums()-1) { in markValNoForDeletion()
143 ValNo->setIsUnused(true); in markValNoForDeletion()
168 VNInfo *ValNo = I->valno; in extendIntervalEndTo() local
173 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendIntervalEndTo()
185 if (Next != ranges.end() && Next->start <= I->end && Next->valno == ValNo) { in extendIntervalEndTo()
198 VNInfo *ValNo = I->valno; in extendIntervalStartTo() local
208 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendIntervalStartTo()
214 if (MergeTo->end >= NewStart && MergeTo->valno == ValNo) { in extendIntervalStartTo()
303 VNInfo *ValNo = I->valno; in removeRange() local
[all …]
DLiveIntervalAnalysis.cpp326 VNInfo *ValNo = interval.getNextValue(defIndex, CopyMI, VNInfoAllocator); in handleVirtualRegisterDef() local
327 assert(ValNo->id == 0 && "First value in interval is not 0?"); in handleVirtualRegisterDef()
346 LiveRange LR(defIndex, killIdx, ValNo); in handleVirtualRegisterDef()
357 LiveRange NewLR(defIndex, getMBBEndIdx(mbb), ValNo); in handleVirtualRegisterDef()
368 ValNo->setHasPHIKill(true); in handleVirtualRegisterDef()
376 LiveRange LR(getMBBStartIdx(aliveBlock), getMBBEndIdx(aliveBlock), ValNo); in handleVirtualRegisterDef()
394 ValNo = interval.getNextValue(Start, 0, VNInfoAllocator); in handleVirtualRegisterDef()
395 ValNo->setIsPHIDef(true); in handleVirtualRegisterDef()
397 LiveRange LR(Start, killIdx, ValNo); in handleVirtualRegisterDef()
440 VNInfo *ValNo = interval.createValueCopy(OldValNo, VNInfoAllocator); in handleVirtualRegisterDef() local
[all …]
DCallingConvLower.cpp42 void CCState::HandleByVal(unsigned ValNo, MVT ValVT, in HandleByVal() argument
56 addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); in HandleByVal()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Reader/
DBitcodeReader.h236 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/swiftshader/third_party/LLVM/lib/Support/
DCommandLine.cpp750 unsigned ValNo = 0, NumVals = static_cast<unsigned>(PositionalVals.size()); in ParseCommandLineOptions() local
753 ProvidePositionalOption(PositionalOpts[i], PositionalVals[ValNo].first, in ParseCommandLineOptions()
754 PositionalVals[ValNo].second); in ParseCommandLineOptions()
755 ValNo++; in ParseCommandLineOptions()
764 while (NumVals-ValNo > NumPositionalRequired && !Done) { in ParseCommandLineOptions()
772 PositionalVals[ValNo].first, in ParseCommandLineOptions()
773 PositionalVals[ValNo].second); in ParseCommandLineOptions()
774 ValNo++; in ParseCommandLineOptions()
784 unsigned ValNo = 0; in ParseCommandLineOptions() local
788 PositionalVals[ValNo].first, in ParseCommandLineOptions()
[all …]
/external/clang/lib/Basic/
DDiagnostic.cpp449 static void HandleSelectModifier(const Diagnostic &DInfo, unsigned ValNo, in HandleSelectModifier() argument
455 while (ValNo) { in HandleSelectModifier()
460 --ValNo; in HandleSelectModifier()
473 static void HandleIntegerSModifier(unsigned ValNo, in HandleIntegerSModifier() argument
475 if (ValNo != 1) in HandleIntegerSModifier()
483 static void HandleOrdinalModifier(unsigned ValNo, in HandleOrdinalModifier() argument
485 assert(ValNo != 0 && "ValNo must be strictly positive!"); in HandleOrdinalModifier()
491 Out << ValNo << llvm::getOrdinalSuffix(ValNo); in HandleOrdinalModifier()
525 static bool EvalPluralExpr(unsigned ValNo, const char *Start, const char *End) { in EvalPluralExpr() argument
538 unsigned ValMod = ValNo % Arg; in EvalPluralExpr()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64CallingConvention.h66 unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, in CC_AArch64_Custom_Stack_Block() argument
73 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_AArch64_Custom_Stack_Block()
84 static bool CC_AArch64_Custom_Block(unsigned &ValNo, MVT &ValVT, MVT &LocVT, in CC_AArch64_Custom_Block() argument
110 CCValAssign::getPending(ValNo, ValVT, LocVT, LocInfo)); in CC_AArch64_Custom_Block()
/external/llvm/lib/CodeGen/
DLiveInterval.cpp114 VNInfo *ValNo = I->valno; in extendSegmentEndTo() local
119 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendSegmentEndTo()
127 MergeTo->valno == ValNo) { in extendSegmentEndTo()
142 VNInfo *ValNo = I->valno; in extendSegmentStartTo() local
152 assert(MergeTo->valno == ValNo && "Cannot merge with differing values!"); in extendSegmentStartTo()
158 if (MergeTo->end >= NewStart && MergeTo->valno == ValNo) { in extendSegmentStartTo()
465 void LiveRange::markValNoForDeletion(VNInfo *ValNo) { in markValNoForDeletion() argument
466 if (ValNo->id == getNumValNums()-1) { in markValNoForDeletion()
471 ValNo->markUnused(); in markValNoForDeletion()
532 VNInfo *ValNo = I->valno; in removeSegment() local
[all …]
DRegisterCoalescer.cpp893 VNInfo *ValNo = SrcInt.Query(CopyIdx).valueIn(); in reMaterializeTrivialDef() local
894 assert(ValNo && "CopyMI input register not live"); in reMaterializeTrivialDef()
895 if (ValNo->isPHIDef() || ValNo->isUnused()) in reMaterializeTrivialDef()
897 MachineInstr *DefMI = LIS->getInstructionFromIndex(ValNo->def); in reMaterializeTrivialDef()
1825 ConflictResolution analyzeValue(unsigned ValNo, JoinVals &Other);
1830 void computeAssignment(unsigned ValNo, JoinVals &Other);
1860 bool isPrunedValue(unsigned ValNo, JoinVals &Other);
1982 JoinVals::analyzeValue(unsigned ValNo, JoinVals &Other) { in analyzeValue() argument
1983 Val &V = Vals[ValNo]; in analyzeValue()
1985 VNInfo *VNI = LR.getValNumInfo(ValNo); in analyzeValue()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp105 CC_Hexagon(unsigned ValNo, MVT ValVT,
110 CC_Hexagon32(unsigned ValNo, MVT ValVT,
115 CC_Hexagon64(unsigned ValNo, MVT ValVT,
120 CC_HexagonVector(unsigned ValNo, MVT ValVT,
125 RetCC_Hexagon(unsigned ValNo, MVT ValVT,
130 RetCC_Hexagon32(unsigned ValNo, MVT ValVT,
135 RetCC_Hexagon64(unsigned ValNo, MVT ValVT,
140 RetCC_HexagonVector(unsigned ValNo, MVT ValVT,
145 CC_Hexagon_VarArg (unsigned ValNo, MVT ValVT, in CC_Hexagon_VarArg() argument
150 if (ValNo < HState.getNumNamedVarArgParams()) { in CC_Hexagon_VarArg()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCCCState.h37 bool WasOriginalArgPPCF128(unsigned ValNo) { return OriginalArgWasPPCF128[ValNo]; } in WasOriginalArgPPCF128() argument
/external/llvm/lib/Support/
DCommandLine.cpp1230 unsigned ValNo = 0, NumVals = static_cast<unsigned>(PositionalVals.size()); in ParseCommandLineOptions() local
1233 ProvidePositionalOption(PositionalOpts[i], PositionalVals[ValNo].first, in ParseCommandLineOptions()
1234 PositionalVals[ValNo].second); in ParseCommandLineOptions()
1235 ValNo++; in ParseCommandLineOptions()
1244 while (NumVals - ValNo > NumPositionalRequired && !Done) { in ParseCommandLineOptions()
1252 PositionalVals[ValNo].first, in ParseCommandLineOptions()
1253 PositionalVals[ValNo].second); in ParseCommandLineOptions()
1254 ValNo++; in ParseCommandLineOptions()
1264 unsigned ValNo = 0; in ParseCommandLineOptions() local
1268 PositionalVals[ValNo].first, in ParseCommandLineOptions()
[all …]
/external/swiftshader/third_party/LLVM/utils/PerfectShuffle/
DPerfectShuffle.cpp158 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/utils/PerfectShuffle/
DPerfectShuffle.cpp158 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/WebAssembly/
DWebAssemblyRegStackify.cpp236 if (const VNInfo *ValNo = LIS.getInterval(Reg).getVNInfoBefore( in GetVRegDef() local
238 return LIS.getInstructionFromIndex(ValNo->def); in GetVRegDef()
563 VNInfo *ValNo = LI.getVNInfoAt(DefIdx); in MoveAndTeeForMultiUse() local
565 ValNo->def = TeeIdx; in MoveAndTeeForMultiUse()

123