Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/BPF/
DBPFISelLowering.cpp205 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments() local
206 CCInfo.AnalyzeFormalArguments(Ins, CC_BPF64); in LowerFormalArguments()
281 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall() local
283 CCInfo.AnalyzeCallOperands(Outs, CC_BPF64); in LowerCall()
285 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCall()
398 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerReturn() local
407 CCInfo.AnalyzeReturn(Outs, RetCC_BPF64); in LowerReturn()
443 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerCallResult() local
451 CCInfo.AnalyzeCallResult(Ins, RetCC_BPF64); in LowerCallResult()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcCBindingsStack.h126 auto CCInfo = CCMgr->getCompileCallback(); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() local
127 CCInfo.setCompileAction( in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
131 return CCInfo.getAddress(); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp438 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() local
440 AnalyzeArguments(CCInfo, ArgLocs, Ins); in LowerCCCArguments()
444 unsigned Offset = CCInfo.getNextStackOffset(); in LowerCCCArguments()
535 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn() local
539 AnalyzeReturnValues(CCInfo, RVLocs, Outs); in LowerReturn()
585 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() local
587 AnalyzeArguments(CCInfo, ArgLocs, Outs); in LowerCCCCallTo()
590 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCCCCallTo()
720 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerCallResult() local
723 AnalyzeReturnValues(CCInfo, RVLocs, Ins); in LowerCallResult()
/external/llvm/lib/Target/Mips/
DMips16ISelLowering.h35 const CCState &CCInfo, unsigned NextStackOffset,
DMipsISelLowering.cpp2593 MipsCCState CCInfo( in LowerCall() local
2599 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(CallConv), 1); in LowerCall()
2601 CCInfo.AnalyzeCallOperands(Outs, CC_Mips, CLI.getArgs(), Callee.getNode()); in LowerCall()
2604 unsigned NextStackOffset = CCInfo.getNextStackOffset(); in LowerCall()
2609 CCInfo, NextStackOffset, *MF.getInfo<MipsFunctionInfo>()); in LowerCall()
2636 CCInfo.rewindByValRegsInfo(); in LowerCall()
2649 unsigned ByValIdx = CCInfo.getInRegsParamsProcessed(); in LowerCall()
2650 CCInfo.getInRegsParamInfo(ByValIdx, FirstByValReg, LastByValReg); in LowerCall()
2654 assert(ByValIdx < CCInfo.getInRegsParamsCount()); in LowerCall()
2660 CCInfo.nextInRegsParam(); in LowerCall()
[all …]
DMipsSEISelLowering.h55 const CCState &CCInfo, unsigned NextStackOffset,
DMipsFastISel.cpp1078 CCState CCInfo(CC, false, *FuncInfo.MF, ArgLocs, *Context); in processCallArgs() local
1079 CCInfo.AnalyzeCallOperands(OutVTs, CLI.OutFlags, CCAssignFnForCall(CC)); in processCallArgs()
1081 NumBytes = CCInfo.getNextStackOffset(); in processCallArgs()
1213 CCState CCInfo(CC, false, *FuncInfo.MF, RVLocs, *Context); in finishCall() local
1214 CCInfo.AnalyzeCallResult(RetVT, RetCC_Mips); in finishCall()
1443 MipsCCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, in selectRet() local
1446 CCInfo.AnalyzeReturn(Outs, RetCC); in selectRet()
DMipsISelLowering.h452 isEligibleForTailCallOptimization(const CCState &CCInfo,
DMips16ISelLowering.cpp248 const CCState &CCInfo, unsigned NextStackOffset, in isEligibleForTailCallOptimization() argument
/external/llvm/lib/Target/XCore/
DXCoreISelLowering.cpp1133 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCCallTo() local
1138 CCInfo.AllocateStack(4, 4); in LowerCCCCallTo()
1140 CCInfo.AnalyzeCallOperands(Outs, CC_XCore); in LowerCCCCallTo()
1146 RetCCInfo.AllocateStack(CCInfo.getNextStackOffset(), 4); in LowerCCCCallTo()
1299 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCCCArguments() local
1302 CCInfo.AnalyzeFormalArguments(Ins, CC_XCore); in LowerCCCArguments()
1309 XFI->setReturnStackOffset(CCInfo.getNextStackOffset() + LRSaveSize); in LowerCCCArguments()
1379 unsigned FirstVAReg = CCInfo.getFirstUnallocated(ArgRegs); in LowerCCCArguments()
1405 MFI->CreateFixedObject(4, LRSaveSize + CCInfo.getNextStackOffset(), in LowerCCCArguments()
1457 CCState CCInfo(CallConv, isVarArg, MF, RVLocs, Context); in CanLowerReturn() local
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp366 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall() local
378 CCInfo.AllocateStack(MF.getDataLayout().getTypeAllocSize(Ty), in LowerCall()
380 CCInfo.addLoc(CCValAssign::getMem(ArgLocs.size(), VT.getSimpleVT(), in LowerCall()
386 unsigned NumBytes = CCInfo.getAlignedCallFrameSize(); in LowerCall()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCompileOnDemandLayer.h244 auto CCInfo = CompileCallbackMgr.getCompileCallback(); in addLogicalModule() local
246 std::make_pair(CCInfo.getAddress(), in addLogicalModule()
248 CCInfo.setCompileAction([this, &LD, LMH, &F]() { in addLogicalModule()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp638 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments() local
645 CCInfo.AllocateReg(AMDGPU::VGPR0); in LowerFormalArguments()
646 CCInfo.AllocateReg(AMDGPU::VGPR1); in LowerFormalArguments()
658 CCInfo.AllocateReg(PrivateSegmentBufferReg); in LowerFormalArguments()
664 CCInfo.AllocateReg(DispatchPtrReg); in LowerFormalArguments()
670 CCInfo.AllocateReg(InputPtrReg); in LowerFormalArguments()
673 AnalyzeFormalArguments(CCInfo, Splits); in LowerFormalArguments()
767 CCInfo.AllocateReg(Reg); in LowerFormalArguments()
774 CCInfo.AllocateReg(Reg); in LowerFormalArguments()
780 CCInfo.AllocateReg(Reg); in LowerFormalArguments()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCFastISel.cpp1274 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, ArgLocs, *Context); in processCallArgs() local
1278 CCInfo.AllocateStack(LinkageSize, 8); in processCallArgs()
1280 CCInfo.AnalyzeCallOperands(ArgVTs, ArgFlags, CC_PPC64_ELF_FIS); in processCallArgs()
1299 NumBytes = CCInfo.getNextStackOffset(); in processCallArgs()
1394 CCState CCInfo(CC, false, *FuncInfo.MF, RVLocs, *Context); in finishCall() local
1395 CCInfo.AnalyzeCallResult(RetVT, RetCC_PPC64_ELF_FIS); in finishCall()
1483 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, RVLocs, *Context); in fastLowerCall() local
1484 CCInfo.AnalyzeCallResult(RetVT, RetCC_PPC64_ELF_FIS); in fastLowerCall()
1602 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, *Context); in SelectRet() local
1603 CCInfo.AnalyzeReturn(Outs, RetCC_PPC64_ELF_FIS); in SelectRet()
DPPCISelLowering.cpp2836 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments_32SVR4() local
2841 CCInfo.AllocateStack(LinkageSize, PtrByteSize); in LowerFormalArguments_32SVR4()
2843 CCInfo.AnalyzeFormalArguments(Ins, CC_PPC32_SVR4); in LowerFormalArguments_32SVR4()
2925 CCByValInfo.AllocateStack(CCInfo.getNextStackOffset(), PtrByteSize); in LowerFormalArguments_32SVR4()
2961 FuncInfo->setVarArgsNumGPR(CCInfo.getFirstUnallocated(GPArgRegs)); in LowerFormalArguments_32SVR4()
2962 FuncInfo->setVarArgsNumFPR(CCInfo.getFirstUnallocated(FPArgRegs)); in LowerFormalArguments_32SVR4()
2970 CCInfo.getNextStackOffset(), true)); in LowerFormalArguments_32SVR4()
4537 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall_32SVR4() local
4541 CCInfo.AllocateStack(Subtarget.getFrameLowering()->getLinkageSize(), in LowerCall_32SVR4()
4557 CCInfo); in LowerCall_32SVR4()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp216 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn_32() local
220 CCInfo.AnalyzeReturn(Outs, RetCC_Sparc32); in LowerReturn_32()
299 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn_64() local
303 CCInfo.AnalyzeReturn(Outs, RetCC_Sparc64); in LowerReturn_64()
398 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments_32() local
400 CCInfo.AnalyzeFormalArguments(Ins, CC_Sparc32); in LowerFormalArguments_32()
552 unsigned NumAllocated = CCInfo.getFirstUnallocated(ArgRegs); in LowerFormalArguments_32()
554 unsigned ArgOffset = CCInfo.getNextStackOffset(); in LowerFormalArguments_32()
604 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments_64() local
606 CCInfo.AnalyzeFormalArguments(Ins, CC_Sparc64); in LowerFormalArguments_64()
[all …]
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp1886 CCState CCInfo(CC, isVarArg, *FuncInfo.MF, ArgLocs, *Context); in ProcessCallArgs() local
1887 CCInfo.AnalyzeCallOperands(ArgVTs, ArgFlags, in ProcessCallArgs()
1933 NumBytes = CCInfo.getNextStackOffset(); in ProcessCallArgs()
2035 CCState CCInfo(CC, isVarArg, *FuncInfo.MF, RVLocs, *Context); in FinishCall() local
2036 CCInfo.AnalyzeCallResult(RetVT, CCAssignFnForCall(CC, true, isVarArg)); in FinishCall()
2096 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, I->getContext()); in SelectRet() local
2097 CCInfo.AnalyzeReturn(Outs, CCAssignFnForCall(CC, true /* is Ret */, in SelectRet()
2201 CCState CCInfo(CC, false, *FuncInfo.MF, RVLocs, *Context); in ARMEmitLibcall() local
2202 CCInfo.AnalyzeCallResult(RetVT, CCAssignFnForCall(CC, true, false)); in ARMEmitLibcall()
2312 CCState CCInfo(CC, isVarArg, *FuncInfo.MF, RVLocs, *Context); in SelectCall() local
[all …]
DARMISelLowering.h588 int StoreByValRegs(CCState &CCInfo, SelectionDAG &DAG,
595 void VarArgStyleRegisters(CCState &CCInfo, SelectionDAG &DAG,
DARMISelLowering.cpp1432 ARMCCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerCallResult() local
1434 CCInfo.AnalyzeCallResult(Ins, in LowerCallResult()
1597 ARMCCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall() local
1599 CCInfo.AnalyzeCallOperands(Outs, in LowerCall()
1604 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCall()
1690 unsigned ByValArgsCount = CCInfo.getInRegsParamsCount(); in LowerCall()
1691 unsigned CurByValIdx = CCInfo.getInRegsParamsProcessed(); in LowerCall()
1696 CCInfo.getInRegsParamInfo(CurByValIdx, RegBegin, RegEnd); in LowerCall()
1716 CCInfo.nextInRegsParam(); in LowerCall()
2168 ARMCCState CCInfo(CalleeCC, isVarArg, DAG.getMachineFunction(), ArgLocs, in IsEligibleForTailCallOptimization() local
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp567 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn() local
571 CCInfo.AnalyzeReturn(Outs, RetCC_Hexagon); in LowerReturn()
624 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerCallResult() local
627 CCInfo.AnalyzeCallResult(Ins, RetCC_Hexagon); in LowerCallResult()
678 HexagonCCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall() local
682 CCInfo.AnalyzeCallOperands(Outs, CC_Hexagon_VarArg); in LowerCall()
684 CCInfo.AnalyzeCallOperands(Outs, CC_Hexagon); in LowerCall()
708 unsigned NumBytes = CCInfo.getNextStackOffset(); in LowerCall()
1041 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments() local
1044 CCInfo.AnalyzeFormalArguments(Ins, CC_Hexagon); in LowerFormalArguments()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp2374 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs, in LowerFormalArguments() local
2404 AssignFn(i, ValVT, ValVT, CCValAssign::Full, Ins[i].Flags, CCInfo); in LowerFormalArguments()
2530 saveVarArgRegisters(CCInfo, DAG, DL, Chain); in LowerFormalArguments()
2535 unsigned StackOffset = CCInfo.getNextStackOffset(); in LowerFormalArguments()
2542 unsigned StackArgSize = CCInfo.getNextStackOffset(); in LowerFormalArguments()
2565 void AArch64TargetLowering::saveVarArgRegisters(CCState &CCInfo, in saveVarArgRegisters() argument
2579 unsigned FirstVariadicGPR = CCInfo.getFirstUnallocated(GPRArgRegs); in saveVarArgRegisters()
2608 unsigned FirstVariadicFPR = CCInfo.getFirstUnallocated(FPRArgRegs); in saveVarArgRegisters()
2651 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerCallResult() local
2653 CCInfo.AnalyzeCallResult(Ins, RetCC); in LowerCallResult()
[all …]
DAArch64ISelLowering.h442 void saveVarArgRegisters(CCState &CCInfo, SelectionDAG &DAG, SDLoc DL,
DAArch64FastISel.cpp2908 CCState CCInfo(CC, false, *FuncInfo.MF, ArgLocs, *Context); in processCallArgs() local
2909 CCInfo.AnalyzeCallOperands(OutVTs, CLI.OutFlags, CCAssignFnForCall(CC)); in processCallArgs()
2912 NumBytes = CCInfo.getNextStackOffset(); in processCallArgs()
3005 CCState CCInfo(CC, false, *FuncInfo.MF, RVLocs, *Context); in finishCall() local
3006 CCInfo.AnalyzeCallResult(RetVT, CCAssignFnForCall(CC)); in finishCall()
3662 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, I->getContext()); in selectRet() local
3665 CCInfo.AnalyzeReturn(Outs, RetCC); in selectRet()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4652 unsigned CCInfo = Record[OpNum++]; in parseFunctionBody() local
4657 if (CCInfo >> 13 & 1 && in parseFunctionBody()
4703 static_cast<CallingConv::ID>(CallingConv::MaxID & CCInfo)); in parseFunctionBody()
5032 unsigned CCInfo = Record[OpNum++]; in parseFunctionBody() local
5035 if ((CCInfo >> bitc::CALL_FMF) & 1) { in parseFunctionBody()
5042 if (CCInfo >> bitc::CALL_EXPLICIT_TYPE & 1 && in parseFunctionBody()
5092 static_cast<CallingConv::ID>((0x7ff & CCInfo) >> bitc::CALL_CCONV)); in parseFunctionBody()
5094 if (CCInfo & 1 << bitc::CALL_TAIL) in parseFunctionBody()
5096 if (CCInfo & (1 << bitc::CALL_MUSTTAIL)) in parseFunctionBody()
5098 if (CCInfo & (1 << bitc::CALL_NOTAIL)) in parseFunctionBody()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1037 CCState CCInfo(CC, F.isVarArg(), *FuncInfo.MF, ValLocs, I->getContext()); in X86SelectRet() local
1038 CCInfo.AnalyzeReturn(Outs, RetCC_X86); in X86SelectRet()
2931 CCState CCInfo(CC, IsVarArg, *FuncInfo.MF, ArgLocs, CLI.RetTy->getContext()); in fastLowerCall() local
2935 CCInfo.AllocateStack(32, 8); in fastLowerCall()
2937 CCInfo.AnalyzeCallOperands(OutVTs, OutFlags, CC_X86); in fastLowerCall()
2940 unsigned NumBytes = CCInfo.getAlignedCallFrameSize(); in fastLowerCall()
3079 unsigned NumXMMRegs = CCInfo.getFirstUnallocated(XMMArgRegs); in fastLowerCall()

12