Home
last modified time | relevance | path

Searched refs:CCInfo (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1121 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCCallTo() local
1126 CCInfo.AllocateStack(4, 4); in LowerCCCCallTo()
1128 CCInfo.AnalyzeCallOperands(Outs, CC_XCore); in LowerCCCCallTo()
1134 RetCCInfo.AllocateStack(CCInfo.getNextStackOffset(), 4); in LowerCCCCallTo()
1287 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCArguments() local
1290 CCInfo.AnalyzeFormalArguments(Ins, CC_XCore); in LowerCCCArguments()
1297 XFI->setReturnStackOffset(CCInfo.getNextStackOffset() + LRSaveSize); in LowerCCCArguments()
1367 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs, in LowerCCCArguments()
1394 MFI->CreateFixedObject(4, LRSaveSize + CCInfo.getNextStackOffset(), in LowerCCCArguments()
1446 CCState CCInfo(CallConv, isVarArg, MF, getTargetMachine(), RVLocs, Context); in CanLowerReturn() local
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp440 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCArguments() local
442 AnalyzeArguments(CCInfo, ArgLocs, Ins); in LowerCCCArguments()
446 unsigned Offset = CCInfo.getNextStackOffset(); in LowerCCCArguments()
536 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerReturn() local
540 AnalyzeReturnValues(CCInfo, RVLocs, Outs); in LowerReturn()
586 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCCCCallTo() local
588 AnalyzeArguments(CCInfo, ArgLocs, Outs); in LowerCCCCallTo()
591 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCCCCallTo()
722 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCallResult() local
725 AnalyzeReturnValues(CCInfo, RVLocs, Ins); in LowerCallResult()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp2409 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), in LowerCall() local
2414 CCInfo, SpecialCallingConv); in LowerCall()
2421 unsigned NextStackOffset = CCInfo.getNextStackOffset(); in LowerCall()
2613 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), in LowerCallResult() local
2616 CCInfo); in LowerCallResult()
2661 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), in LowerFormalArguments() local
2664 CCInfo); in LowerFormalArguments()
2670 MipsFI->setFormalArgInfo(CCInfo.getNextStackOffset(), in LowerFormalArguments()
2797 CCState CCInfo(CallConv, IsVarArg, MF, getTargetMachine(), in CanLowerReturn() local
2799 return CCInfo.CheckReturn(Outs, RetCC_Mips); in CanLowerReturn()
[all …]
DMipsISelLowering.h375 const CCState &getCCInfo() const { return CCInfo; } in getCCInfo()
428 CCState &CCInfo; variable
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp325 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerReturn() local
329 CCInfo.AnalyzeReturn(Outs, RetCC_Hexagon); in LowerReturn()
375 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCallResult() local
378 CCInfo.AnalyzeCallResult(Ins, RetCC_Hexagon); in LowerCallResult()
430 HexagonCCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCall() local
435 CCInfo.AnalyzeCallOperands(Outs, CC_Hexagon_VarArg); in LowerCall()
437 CCInfo.AnalyzeCallOperands(Outs, CC_Hexagon); in LowerCall()
462 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCall()
846 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerFormalArguments() local
849 CCInfo.AnalyzeFormalArguments(Ins, CC_Hexagon); in LowerFormalArguments()
[all …]
/external/llvm/lib/Target/ARM/
DARMISelLowering.h506 int StoreByValRegs(CCState &CCInfo, SelectionDAG &DAG,
517 void VarArgStyleRegisters(CCState &CCInfo, SelectionDAG &DAG,
523 void computeRegArea(CCState &CCInfo, MachineFunction &MF,
DARMISelLowering.cpp1259 ARMCCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCallResult() local
1261 CCInfo.AnalyzeCallResult(Ins, in LowerCallResult()
1420 ARMCCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCall() local
1422 CCInfo.AnalyzeCallOperands(Outs, in LowerCall()
1427 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCall()
1512 unsigned ByValArgsCount = CCInfo.getInRegsParamsCount(); in LowerCall()
1513 unsigned CurByValIdx = CCInfo.getInRegsParamsProceed(); in LowerCall()
1518 CCInfo.getInRegsParamInfo(CurByValIdx, RegBegin, RegEnd); in LowerCall()
1537 CCInfo.nextInRegsParam(); in LowerCall()
1987 ARMCCState CCInfo(CalleeCC, isVarArg, DAG.getMachineFunction(), in IsEligibleForTailCallOptimization() local
[all …]
DARMFastISel.cpp1886 CCState CCInfo(CC, isVarArg, *FuncInfo.MF, TM, ArgLocs, *Context); in ProcessCallArgs() local
1887 CCInfo.AnalyzeCallOperands(ArgVTs, ArgFlags, in ProcessCallArgs()
1933 NumBytes = CCInfo.getNextStackOffset(); in ProcessCallArgs()
2029 CCState CCInfo(CC, isVarArg, *FuncInfo.MF, TM, RVLocs, *Context); in FinishCall() local
2030 CCInfo.AnalyzeCallResult(RetVT, CCAssignFnForCall(CC, true, isVarArg)); in FinishCall()
2090 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, TM, ValLocs,I->getContext()); in SelectRet() local
2091 CCInfo.AnalyzeReturn(Outs, CCAssignFnForCall(CC, true /* is Ret */, in SelectRet()
2195 CCState CCInfo(CC, false, *FuncInfo.MF, TM, RVLocs, *Context); in ARMEmitLibcall() local
2196 CCInfo.AnalyzeCallResult(RetVT, CCAssignFnForCall(CC, true, false)); in ARMEmitLibcall()
2306 CCState CCInfo(CC, isVarArg, *FuncInfo.MF, TM, RVLocs, *Context); in SelectCall() local
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp1203 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, TM, ArgLocs, *Context); in processCallArgs() local
1207 CCInfo.AllocateStack(LinkageSize, 8); in processCallArgs()
1209 CCInfo.AnalyzeCallOperands(ArgVTs, ArgFlags, CC_PPC64_ELF_FIS); in processCallArgs()
1228 NumBytes = CCInfo.getNextStackOffset(); in processCallArgs()
1321 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, TM, RVLocs, *Context); in finishCall() local
1322 CCInfo.AnalyzeCallResult(RetVT, RetCC_PPC64_ELF_FIS); in finishCall()
1411 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, TM, RVLocs, *Context); in SelectCall() local
1412 CCInfo.AnalyzeCallResult(RetVT, RetCC_PPC64_ELF_FIS); in SelectCall()
1534 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, TM, ValLocs, *Context); in SelectRet() local
1535 CCInfo.AnalyzeReturn(Outs, RetCC_PPC64_ELF_FIS); in SelectRet()
DPPCISelLowering.cpp2243 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerFormalArguments_32SVR4() local
2248 CCInfo.AllocateStack(LinkageSize, PtrByteSize); in LowerFormalArguments_32SVR4()
2250 CCInfo.AnalyzeFormalArguments(Ins, CC_PPC32_SVR4); in LowerFormalArguments_32SVR4()
2321 CCByValInfo.AllocateStack(CCInfo.getNextStackOffset(), PtrByteSize); in LowerFormalArguments_32SVR4()
2353 FuncInfo->setVarArgsNumGPR(CCInfo.getFirstUnallocated(GPArgRegs, in LowerFormalArguments_32SVR4()
2355 FuncInfo->setVarArgsNumFPR(CCInfo.getFirstUnallocated(FPArgRegs, in LowerFormalArguments_32SVR4()
2364 CCInfo.getNextStackOffset(), true)); in LowerFormalArguments_32SVR4()
3738 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCall_32SVR4() local
3742 CCInfo.AllocateStack(PPCFrameLowering::getLinkageSize(false, false), PtrByteSize); in LowerCall_32SVR4()
3757 CCInfo); in LowerCall_32SVR4()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp193 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), in LowerReturn_32() local
197 CCInfo.AnalyzeReturn(Outs, RetCC_Sparc32); in LowerReturn_32()
253 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), in LowerReturn_64() local
257 CCInfo.AnalyzeReturn(Outs, RetCC_Sparc64); in LowerReturn_64()
352 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerFormalArguments_32() local
354 CCInfo.AnalyzeFormalArguments(Ins, CC_Sparc32); in LowerFormalArguments_32()
500 unsigned NumAllocated = CCInfo.getFirstUnallocated(ArgRegs, 6); in LowerFormalArguments_32()
502 unsigned ArgOffset = CCInfo.getNextStackOffset(); in LowerFormalArguments_32()
552 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), in LowerFormalArguments_64() local
554 CCInfo.AnalyzeFormalArguments(Ins, CC_Sparc64); in LowerFormalArguments_64()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp1201 CCState CCInfo(CC, false, *FuncInfo.MF, TM, ArgLocs, *Context); in ProcessCallArgs() local
1202 CCInfo.AnalyzeCallOperands(ArgVTs, ArgFlags, CCAssignFnForCall(CC)); in ProcessCallArgs()
1205 NumBytes = CCInfo.getNextStackOffset(); in ProcessCallArgs()
1286 CCState CCInfo(CC, false, *FuncInfo.MF, TM, RVLocs, *Context); in FinishCall() local
1287 CCInfo.AnalyzeCallResult(RetVT, CCAssignFnForCall(CC)); in FinishCall()
1575 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, TM, ValLocs, in SelectRet() local
1579 CCInfo.AnalyzeReturn(Outs, RetCC); in SelectRet()
DAArch64ISelLowering.cpp1653 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerFormalArguments() local
1681 AssignFn(i, ValVT, ValVT, CCValAssign::Full, Ins[i].Flags, CCInfo); in LowerFormalArguments()
1803 saveVarArgRegisters(CCInfo, DAG, DL, Chain); in LowerFormalArguments()
1808 unsigned StackOffset = CCInfo.getNextStackOffset(); in LowerFormalArguments()
1815 unsigned StackArgSize = CCInfo.getNextStackOffset(); in LowerFormalArguments()
1838 void AArch64TargetLowering::saveVarArgRegisters(CCState &CCInfo, in saveVarArgRegisters() argument
1852 CCInfo.getFirstUnallocated(GPRArgRegs, NumGPRArgRegs); in saveVarArgRegisters()
1881 CCInfo.getFirstUnallocated(FPRArgRegs, NumFPRArgRegs); in saveVarArgRegisters()
1923 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCallResult() local
1925 CCInfo.AnalyzeCallResult(Ins, RetCC); in LowerCallResult()
[all …]
DAArch64ISelLowering.h371 void saveVarArgRegisters(CCState &CCInfo, SelectionDAG &DAG, SDLoc DL,
/external/llvm/lib/Target/R600/
DSIISelLowering.cpp365 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerFormalArguments() local
371 CCInfo.AllocateReg(AMDGPU::VGPR0); in LowerFormalArguments()
372 CCInfo.AllocateReg(AMDGPU::VGPR1); in LowerFormalArguments()
377 CCInfo.AllocateReg(AMDGPU::SGPR0); in LowerFormalArguments()
378 CCInfo.AllocateReg(AMDGPU::SGPR1); in LowerFormalArguments()
387 AnalyzeFormalArguments(CCInfo, Splits); in LowerFormalArguments()
DR600ISelLowering.cpp1666 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerFormalArguments() local
1675 AnalyzeFormalArguments(CCInfo, LocalIns); in LowerFormalArguments()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp999 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, TM, ValLocs, in X86SelectRet() local
1001 CCInfo.AnalyzeReturn(Outs, RetCC_X86); in X86SelectRet()
2828 CCState CCInfo(CC, isVarArg, *FuncInfo.MF, TM, ArgLocs, in DoSelectCall() local
2833 CCInfo.AllocateStack(32, 8); in DoSelectCall()
2835 CCInfo.AnalyzeCallOperands(ArgVTs, ArgFlags, CC_X86); in DoSelectCall()
2838 unsigned NumBytes = CCInfo.getNextStackOffset(); in DoSelectCall()
2956 unsigned NumXMMRegs = CCInfo.getFirstUnallocated(XMMArgRegs, 8); in DoSelectCall()
DX86ISelLowering.cpp1854 CCState CCInfo(CallConv, isVarArg, MF, MF.getTarget(), in CanLowerReturn() local
1856 return CCInfo.CheckReturn(Outs, RetCC_X86); in CanLowerReturn()
1874 CCState CCInfo(CallConv, isVarArg, MF, DAG.getTarget(), in LowerReturn() local
1876 CCInfo.AnalyzeReturn(Outs, RetCC_X86); in LowerReturn()
2045 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), in LowerCallResult() local
2047 CCInfo.AnalyzeCallResult(Ins, RetCC_X86); in LowerCallResult()
2254 CCState CCInfo(CallConv, isVarArg, MF, DAG.getTarget(), in LowerFormalArguments() local
2259 CCInfo.AllocateStack(32, 8); in LowerFormalArguments()
2261 CCInfo.AnalyzeFormalArguments(Ins, CC_X86); in LowerFormalArguments()
2358 unsigned StackSize = CCInfo.getNextStackOffset(); in LowerFormalArguments()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2758 unsigned CCInfo = Record[1]; in ParseFunctionBody() local
2800 static_cast<CallingConv::ID>(CCInfo)); in ParseFunctionBody()
3049 unsigned CCInfo = Record[1]; in ParseFunctionBody() local
3090 static_cast<CallingConv::ID>((~(1U << 14) & CCInfo) >> 1)); in ParseFunctionBody()
3092 if (CCInfo & 1) in ParseFunctionBody()
3094 if (CCInfo & (1 << 14)) in ParseFunctionBody()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp681 CCState CCInfo(CallConv, IsVarArg, MF, DAG.getTarget(), ArgLocs, in LowerFormalArguments() local
683 CCInfo.AnalyzeFormalArguments(Ins, CC_SystemZ); in LowerFormalArguments()
750 int64_t StackSize = CCInfo.getNextStackOffset(); in LowerFormalArguments()