Home
last modified time | relevance | path

Searched refs:RSI (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600OptimizeVectorRegisters.cpp69 bool operator==(const RegSeqInfo &RSI) const { in operator ==()
70 return RSI.Instr == Instr; in operator ==()
90 bool tryMergeUsingCommonSlot(RegSeqInfo &RSI, RegSeqInfo &CompatibleRSI,
92 bool tryMergeUsingFreeSlot(RegSeqInfo &RSI, RegSeqInfo &CompatibleRSI,
97 void trackRSI(const RegSeqInfo &RSI);
180 RegSeqInfo *RSI, const RegSeqInfo *BaseRSI, in RebuildVector() argument
182 Register Reg = RSI->Instr->getOperand(0).getReg(); in RebuildVector()
183 MachineBasicBlock::iterator Pos = RSI->Instr; in RebuildVector()
190 for (const auto &It : RSI->RegToChan) { in RebuildVector()
222 RSI->Instr->eraseFromParent(); in RebuildVector()
[all …]
/freebsd/sys/amd64/amd64/
H A Dbpf_jit_machdep.c256 MOVobd(RCX, RSI, EAX); in bpf_jit_compile()
275 MOVobw(RCX, RSI, AX); in bpf_jit_compile()
290 MOVobb(RCX, RSI, AL); in bpf_jit_compile()
323 MOVobd(RCX, RSI, EAX); in bpf_jit_compile()
347 MOVobw(RCX, RSI, AX); in bpf_jit_compile()
367 MOVobb(RCX, RSI, AL); in bpf_jit_compile()
384 MOVobb(RCX, RSI, DL); in bpf_jit_compile()
399 MOVobd(RSP, RSI, EAX); in bpf_jit_compile()
404 MOVobd(RSP, RSI, EDX); in bpf_jit_compile()
414 MOVomd(EAX, RSP, RSI); in bpf_jit_compile()
[all …]
H A Dbpf_jit_machdep.h46 #define RSI 6 macro
/freebsd/lib/libc/amd64/string/
H A Dstrcmp.S103 or %r8d, %r9d # in either RSI or RDI
153 sub %rdi, %rsi # express RSI as distance from RDI
184 pcmpeqb (%rdi, %rsi, 1), %xmm1 # end of string in RSI?
196 pcmpeqb 16(%rdi, %rsi, 1), %xmm1 # end of string in RSI?
246 add %rdi, %rsi # restore RSI pointer
247 add %rax, %rdi # point RDI to chunk corresponding to (RSI)
264 sub %rsi, %rdi # express RDI as distance from RSI
265 lea (%rdi, %rax, 1), %rdx # point RDX to offset in RDI corresponding to RSI
295 pcmpeqb (%rsi, %rdi, 1), %xmm1 # end of string in RSI?
307 pcmpeqb 16(%rsi, %rdi, 1), %xmm1 # end of string in RSI?
[all …]
H A Dstrncmp.S184 lea -16(%rdx, %rbx, 1), %rdx # account for length of RSI chunk
247 sub %rdi, %rsi # express RSI as distance from RDI
255 cmp %rcx, %rdx # does the buffer end within (RDI,RSI,1)?
283 pcmpeqb (%rdi, %rsi, 1), %xmm1 # end of string in RSI?
310 pcmpeqb (%rdi, %rsi, 1), %xmm1 # end of string in RSI?
349 add %rdi, %rsi # restore RSI pointer
350 add %rax, %rdi # point RDI to chunk corresponding to (RSI)
384 add %rax, %rdx # RDX points to buffer end in RSI
385 neg %rax # ... corresponding to RSI
387 cmp %rcx, %rdx # does the buffer end within (RSI,RDI,1)?
[all …]
H A Dstrlcpy.S102 sub %rcx, %rdi # adjust RDI to correspond to RSI
104 sub %rsi, %rdi # express RDI as distance from RSI
105 add $32, %rsi # advance RSI past first two chunks
H A Dstpncpy.S105 sub %rcx, %rdi # adjust RDI to correspond to RSI
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenRegisters.cpp810 RSI = RegSizeInfoByHwMode(DI->getDef(), RegBank.getHwModes()); in CodeGenRegisterClass()
812 assert((RSI.hasDefault() || Size != 0 || VTs[0].isSimple()) && in CodeGenRegisterClass()
814 if (!RSI.hasDefault()) { in CodeGenRegisterClass()
819 RSI.insertRegSizeForMode(DefaultMode, RI); in CodeGenRegisterClass()
845 TopoSigs(RegBank.getNumTopoSigs()), EnumValue(-1), RSI(Props.RSI), in CodeGenRegisterClass()
926 OS << "{ " << K.RSI; in operator <<()
939 return std::tie(*Members, RSI) < std::tie(*B.Members, B.RSI); in operator <()
953 return A->RSI.isSubClassOf(B->RSI) && in testSubClass()
972 if (A->RSI < B->RSI) in TopoOrderRC()
974 if (A->RSI != B->RSI) in TopoOrderRC()
[all …]
H A DCodeGenRegisters.h351 RegSizeInfoByHwMode RSI; variable
482 RegSizeInfoByHwMode RSI; member
485 : Members(M), RSI(I) {} in Key()
488 : Members(&RC.getMembers()), RSI(RC.RSI) {} in Key()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DRegisterBankEmitter.cpp88 else if (RCsWithLargestRegSize[M]->RSI.get(M).SpillSize < in addRegisterClass()
89 RC->RSI.get(M).SpillSize) in addRegisterClass()
275 unsigned Size = RC.RSI.get(M).SpillSize; in emitBaseClassImplementation()
H A DRegisterInfoEmitter.cpp1051 if (RC.RSI.isSimple()) in runMCDesc()
1052 RegSize = RC.RSI.getSimple().RegSize; in runMCDesc()
1285 const RegSizeInfo &RI = RC.RSI.get(M); in runTargetDesc()
1835 OS << ' ' << getModeName(M) << ':' << RC.RSI.get(M).SpillSize; in debugDump()
1838 OS << ' ' << getModeName(M) << ':' << RC.RSI.get(M).SpillAlignment; in debugDump()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86CallingConv.td90 let GPR_64 = [RAX, RCX, RDX, RDI, RSI, R8, R9, R10, R11, R12, R14, R15];
102 let GPR_64 = [RAX, RCX, RDX, RDI, RSI, R8, R9, R11, R12, R14, R15];
109 let GPR_64 = [RAX, RCX, RDX, RDI, RSI, R8, R9, R12, R13, R14, R15];
570 CCIfSplit<CCAssignToReg<[RDI, RSI, RDX, RCX, R8]>>>,
573 CCIfType<[i64], CCAssignToReg<[RDI, RSI, RDX, RCX, R8 , R9 ]>>,
718 CCAssignToReg<[R13, RBP, R12, RBX, R14, RSI, RDI, R8, R9, R15]>>,
739 CCIfType<[i64], CCAssignToReg<[R15, RBP, RSI, RDX, RCX, R8]>>,
1035 CCIfType<[i64], CCIfSubtarget<"is64Bit()", CCAssignToReg<[RDI, RSI, RDX, RCX]>>>,
1071 CCIfType<[i64], CCAssignToReg<[R12, R13, R14, R15, RDI, RSI,
1150 def CSR_Win64_NoSSE : CalleeSavedRegs<(add RBX, RBP, RDI, RSI, R12, R13, R14, R15)>;
[all …]
H A DX86SelectionDAGInfo.cpp162 const unsigned SI = Use64BitRegs ? X86::RSI : X86::ESI; in emitRepmovs()
273 const MCPhysReg ClobberSet[] = {X86::RCX, X86::RSI, X86::RDI, in EmitTargetCodeForMemcpy()
H A DX86RegisterInfo.td285 def RSI : X86Reg<"rsi", 6, [ESI]>, DwarfRegNum<[4, -2, -2]>;
586 (add RAX, RCX, RDX, RSI, RDI, R8, R9, R10, R11, R16, R17,
593 (add RAX, RCX, RDX, RSI, RDI, R8, R9,
631 def GR64_TC : RegisterClass<"X86", [i64], 64, (add RAX, RCX, RDX, RSI, RDI,
653 (add RAX, RCX, RDX, RSI, RDI, RBX, RBP, RSP, RIP)>;
H A DX86InstrSystem.td454 let Uses = [RSI, RDI, RCX], Predicates = [In64BitMode] in {
666 let Defs = [RSI, RDI], Uses = [RBX, RDX, RSI, RDI] in {
674 let Defs = [RAX, RSI, RDI], Uses = [RAX, RSI, RDI] in {
678 let Defs = [RAX, RDX, RSI], Uses = [RAX, RSI] in
H A DX86AsmPrinter.cpp578 {X86::RAX, X86::RDI, X86::RSI, X86::RDX, X86::RCX, X86::R8, X86::R9}) in emitMachOIFuncStubHelperBody()
599 {X86::R9, X86::R8, X86::RCX, X86::RDX, X86::RSI, X86::RDI, X86::RAX}) in emitMachOIFuncStubHelperBody()
H A DX86MCInstLower.cpp1139 const Register DestRegs[] = {X86::RDI, X86::RSI}; in LowerPATCHABLE_EVENT_CALL()
1238 const Register DestRegs[] = {X86::RDI, X86::RSI, X86::RDX}; in LowerPATCHABLE_TYPED_EVENT_CALL()
H A DX86RegisterInfo.cpp695 llvm::any_of(SmallVector<MCRegister>{X86::RDI, X86::RSI}, in isArgumentRegister()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp134 (siReg == X86::RSI && MI.getOperand(0).getReg() == X86::RDI)) && in needsAddressSizeOverride()
260 {codeview::RegisterId::RSI, X86::RSI}, in initLLVMToSEHAndCVRegMapping()
784 #define SI_SUB_SUPER(R) SUB_SUPER(SIL, SI, ESI, RSI, R) in getX86SubSuperRegister()
922 SI_SUB_SUPER(RSI) in getX86SubSuperRegister()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4425 buildCapturedStmtCaptureList(Sema &S, CapturedRegionScopeInfo *RSI, in buildCapturedStmtCaptureList() argument
4428 for (const sema::Capture &Cap : RSI->Captures) { in buildCapturedStmtCaptureList()
4434 RSI->CapRegionKind == CR_OpenMP); in buildCapturedStmtCaptureList()
4440 FieldDecl *Field = S.BuildCaptureField(RSI->TheRecordDecl, Cap); in buildCapturedStmtCaptureList()
4452 if (S.getLangOpts().OpenMP && RSI->CapRegionKind == CR_OpenMP) in buildCapturedStmtCaptureList()
4454 RSI->OpenMPLevel); in buildCapturedStmtCaptureList()
4561 CapturedRegionScopeInfo *RSI = cast<CapturedRegionScopeInfo>(ScopeRAII.get()); in ActOnCapturedRegionError() local
4563 RecordDecl *Record = RSI->TheRecordDecl; in ActOnCapturedRegionError()
4578 CapturedRegionScopeInfo *RSI = cast<CapturedRegionScopeInfo>(ScopeRAII.get()); in ActOnCapturedRegionEnd() local
4582 if (buildCapturedStmtCaptureList(*this, RSI, Captures, CaptureInits)) in ActOnCapturedRegionEnd()
[all …]
H A DSemaExpr.cpp18442 CapturedRegionScopeInfo *RSI, ValueDecl *Var, SourceLocation Loc, in captureInCapturedRegion() argument
18450 } else if (S.getLangOpts().OpenMP && RSI->CapRegionKind == CR_OpenMP) { in captureInCapturedRegion()
18460 if (S.OpenMP().isOpenMPPrivateDecl(Var, RSI->OpenMPLevel, in captureInCapturedRegion()
18461 RSI->OpenMPCaptureLevel) != OMPC_unknown) in captureInCapturedRegion()
18463 ByRef = S.OpenMP().isOpenMPCapturedByRef(Var, RSI->OpenMPLevel, in captureInCapturedRegion()
18464 RSI->OpenMPCaptureLevel); in captureInCapturedRegion()
18474 RSI->addCapture(Var, /*isBlock*/ false, ByRef, RefersToCapturedVariable, in captureInCapturedRegion()
18842 if (auto *RSI = dyn_cast<CapturedRegionScopeInfo>(CSI)) { in tryCaptureVariable() local
18846 if (RSI->CapRegionKind == CR_OpenMP) { in tryCaptureVariable()
18856 Var, RSI->OpenMPLevel, RSI->OpenMPCaptureLevel); in tryCaptureVariable()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.h294 ENTRY(RSI) \
328 ENTRY(RSI) \
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DCodeViewRegisterMapping.cpp715 case llvm::codeview::RegisterId::RSI: in GetRegisterSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h435 (getMemBaseReg() == X86::RSI || getMemBaseReg() == X86::ESI || in isSrcIdx()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewRegisters.def224 CV_REGISTER(RSI, 332)

12