/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCallLowering.cpp | 93 if (F.getCallingConv() == CallingConv::AMDGPU_GS || in lowerFormalArguments() 94 F.getCallingConv() == CallingConv::AMDGPU_HS) in lowerFormalArguments() 105 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArguments() 151 if (F.getCallingConv() == CallingConv::AMDGPU_KERNEL) { in lowerFormalArguments() 192 if (F.getCallingConv() == CallingConv::AMDGPU_PS && in lowerFormalArguments() 208 CCAssignFn *AssignFn = CCAssignFnForCall(F.getCallingConv(), in lowerFormalArguments() 235 if (F.getCallingConv() == CallingConv::AMDGPU_VS || in lowerFormalArguments() 236 F.getCallingConv() == CallingConv::AMDGPU_PS) { in lowerFormalArguments()
|
D | R600AsmPrinter.cpp | 74 switch (MF.getFunction().getCallingConv()) { in EmitProgramInfoR600() 83 switch (MF.getFunction().getCallingConv()) { in EmitProgramInfoR600() 98 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitProgramInfoR600()
|
D | AMDGPUMachineFunction.cpp | 23 IsEntryFunction(AMDGPU::isEntryFunctionCC(MF.getFunction().getCallingConv())), in AMDGPUMachineFunction() 41 CallingConv::ID CC = F.getCallingConv(); in AMDGPUMachineFunction()
|
D | AMDGPUAsmPrinter.cpp | 203 (F.getCallingConv() == CallingConv::AMDGPU_KERNEL || in EmitFunctionBodyStart() 204 F.getCallingConv() == CallingConv::SPIR_KERNEL)) { in EmitFunctionBodyStart() 1008 unsigned RsrcReg = getRsrcReg(MF.getFunction().getCallingConv()); in EmitProgramInfoSI() 1010 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitProgramInfoSI() 1033 if (MF.getFunction().getCallingConv() == CallingConv::AMDGPU_PS) { in EmitProgramInfoSI() 1062 unsigned Rsrc1Reg = getRsrcReg(MF.getFunction().getCallingConv()) / 4; in EmitPALMetadata() 1068 switch (MF.getFunction().getCallingConv()) { in EmitPALMetadata() 1094 if (AMDGPU::isCompute(MF.getFunction().getCallingConv())) { in EmitPALMetadata() 1109 if (MF.getFunction().getCallingConv() == CallingConv::AMDGPU_PS) { in EmitPALMetadata() 1135 assert(F.getCallingConv() == CallingConv::AMDGPU_KERNEL || in getAmdKernelCode() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 47 CI->setCallingConv(F->getCallingConv()); in EmitStrLen() 68 CI->setCallingConv(F->getCallingConv()); in EmitStrChr() 92 CI->setCallingConv(F->getCallingConv()); in EmitStrNCmp() 111 CI->setCallingConv(F->getCallingConv()); in EmitStrCpy() 130 CI->setCallingConv(F->getCallingConv()); in EmitStrNCpy() 154 CI->setCallingConv(F->getCallingConv()); in EmitMemCpyChk() 175 CI->setCallingConv(F->getCallingConv()); in EmitMemChr() 200 CI->setCallingConv(F->getCallingConv()); in EmitMemCmp() 231 CI->setCallingConv(F->getCallingConv()); in EmitUnaryFloatFnCall() 250 CI->setCallingConv(F->getCallingConv()); in EmitPutChar() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Instruction.cpp | 211 CI->getCallingConv() == cast<CallInst>(I)->getCallingConv() && in isIdenticalToWhenDefined() 214 return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && in isIdenticalToWhenDefined() 266 CI->getCallingConv() == cast<CallInst>(I)->getCallingConv() && in isSameOperationAs() 269 return CI->getCallingConv() == cast<InvokeInst>(I)->getCallingConv() && in isSameOperationAs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 773 CI->setCallingConv(F->getCallingConv()); in emitStrLen() 793 CI->setCallingConv(F->getCallingConv()); in emitStrChr() 813 CI->setCallingConv(F->getCallingConv()); in emitStrNCmp() 830 CI->setCallingConv(F->getCallingConv()); in emitStrCpy() 847 CI->setCallingConv(F->getCallingConv()); in emitStrNCpy() 870 CI->setCallingConv(F->getCallingConv()); in emitMemCpyChk() 889 CI->setCallingConv(F->getCallingConv()); in emitMemChr() 910 CI->setCallingConv(F->getCallingConv()); in emitMemCmp() 947 CI->setCallingConv(F->getCallingConv()); in emitUnaryFloatFnCall() 963 CI->setCallingConv(F->getCallingConv()); in emitBinaryFloatFnCall() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMachineFunction.cpp | 15 IsKernel(MF.getFunction()->getCallingConv() == llvm::CallingConv::AMDGPU_KERNEL || in AMDGPUMachineFunction() 16 MF.getFunction()->getCallingConv() == llvm::CallingConv::SPIR_KERNEL) in AMDGPUMachineFunction()
|
D | AMDGPUAsmPrinter.cpp | 279 switch (MF.getFunction()->getCallingConv()) { in EmitProgramInfoR600() 288 switch (MF.getFunction()->getCallingConv()) { in EmitProgramInfoR600() 303 if (AMDGPU::isCompute(MF.getFunction()->getCallingConv())) { in EmitProgramInfoR600() 583 unsigned RsrcReg = getRsrcReg(MF.getFunction()->getCallingConv()); in EmitProgramInfoSI() 585 if (AMDGPU::isCompute(MF.getFunction()->getCallingConv())) { in EmitProgramInfoSI() 608 if (MF.getFunction()->getCallingConv() == CallingConv::AMDGPU_PS) { in EmitProgramInfoSI()
|
D | SIMachineFunctionInfo.cpp | 92 if (!AMDGPU::isShader(F->getCallingConv())) { 139 if (AMDGPU::isCompute(F->getCallingConv()))
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64CallLowering.cpp | 245 CCAssignFn *AssignFn = TLI.CCAssignFnForReturn(F.getCallingConv()); in lowerReturn() 252 splitToValueTypes(OrigArg, SplitArgs, DL, MRI, F.getCallingConv(), in lowerReturn() 284 splitToValueTypes(OrigArg, SplitArgs, DL, MRI, F.getCallingConv(), in lowerFormalArguments() 306 TLI.CCAssignFnForCall(F.getCallingConv(), /*IsVarArg=*/false); in lowerFormalArguments() 368 MIB.addRegMask(TRI->getCallPreservedMask(MF, F.getCallingConv())); in lowerCall() 391 CCAssignFn *RetAssignFn = TLI.CCAssignFnForReturn(F.getCallingConv()); in lowerCall() 397 splitToValueTypes(OrigRet, SplitArgs, DL, MRI, F.getCallingConv(), in lowerCall()
|
D | AArch64RegisterInfo.cpp | 45 if (MF->getFunction().getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 49 if (MF->getFunction().getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs() 51 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs() 60 if (MF->getFunction().getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs() 69 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsCallLowering.cpp | 224 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerReturn() 277 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerFormalArguments() 283 CCInfo.AllocateStack(ABI.GetCalleeAllocdArgSizeInBytes(F.getCallingConv()), in lowerFormalArguments() 331 MIB.addRegMask(TRI->getCallPreservedMask(MF, F.getCallingConv())); in lowerCall() 358 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerCall() 394 MipsCCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, in lowerCall() 422 F.getCallingConv(), VT); in subTargetRegTypeForCallingConv()
|
/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 729 CI->setCallingConv(F->getCallingConv()); in emitStrLen() 748 CI->setCallingConv(F->getCallingConv()); in emitStrChr() 767 CI->setCallingConv(F->getCallingConv()); in emitStrNCmp() 784 CI->setCallingConv(F->getCallingConv()); in emitStrCpy() 801 CI->setCallingConv(F->getCallingConv()); in emitStrNCpy() 824 CI->setCallingConv(F->getCallingConv()); in emitMemCpyChk() 842 CI->setCallingConv(F->getCallingConv()); in emitMemChr() 862 CI->setCallingConv(F->getCallingConv()); in emitMemCmp() 893 CI->setCallingConv(F->getCallingConv()); in emitUnaryFloatFnCall() 909 CI->setCallingConv(F->getCallingConv()); in emitBinaryFloatFnCall() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64RegisterInfo.cpp | 43 if (MF->getFunction()->getCallingConv() == CallingConv::GHC) in getCalleeSavedRegs() 47 if (MF->getFunction()->getCallingConv() == CallingConv::AnyReg) in getCalleeSavedRegs() 49 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS) in getCalleeSavedRegs() 58 if (MF->getFunction()->getCallingConv() == CallingConv::PreserveMost) in getCalleeSavedRegs() 67 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy()
|
D | AArch64CallLowering.cpp | 63 CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); in lowerFormalArguments() 71 TLI.CCAssignFnForCall(F.getCallingConv(), /*IsVarArg=*/false); in lowerFormalArguments()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerGuardIntrinsic.cpp | 82 DeoptCall->setCallingConv(CI->getCallingConv()); in MakeGuardControlFlowExplicit() 106 DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv()); in runOnFunction()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 83 ID.AddInteger(F->getCallingConv()); in profileFunction() 319 return CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in isEquivalentOperation() 322 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in isEquivalentOperation() 485 if (F1->getCallingConv() != F2->getCallingConv()) in compare() 741 CI->setCallingConv(F->getCallingConv()); in writeThunk()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LowerGuardIntrinsic.cpp | 84 DeoptCall->setCallingConv(CI->getCallingConv()); in MakeGuardControlFlowExplicit() 108 DeoptIntrinsic->setCallingConv(GuardDecl->getCallingConv()); in lowerGuardIntrinsic()
|
/external/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 200 if (IsWin64 || (F && F->getCallingConv() == CallingConv::X86_64_Win64)) in getGPRsForTailCall() 205 bool hasHipeCC = (F ? F->getCallingConv() == CallingConv::HiPE : false); in getGPRsForTailCall() 251 switch (MF->getFunction()->getCallingConv()) { in getCalleeSavedRegs() 334 if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy() 455 CallingConv::ID CC = MF.getFunction()->getCallingConv(); in getReservedRegs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 222 if (IsWin64 || (F.getCallingConv() == CallingConv::Win64)) in getGPRsForTailCall() 227 bool hasHipeCC = (F.getCallingConv() == CallingConv::HiPE); in getGPRsForTailCall() 275 CallingConv::ID CC = F.getCallingConv(); in getCalleeSavedRegs() 383 if (MF->getFunction().getCallingConv() == CallingConv::CXX_FAST_TLS && in getCalleeSavedRegsViaCopy() 522 CallingConv::ID CC = MF.getFunction().getCallingConv(); in getReservedRegs()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 66 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs() 69 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/ |
D | MSP430RegisterInfo.cpp | 66 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs() 69 return (F->getCallingConv() == CallingConv::MSP430_INTR ? in getCalleeSavedRegs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | StackMaps.h | 98 bool isAnyReg() const { return (getCallingConv() == CallingConv::AnyReg); } in isAnyReg() 115 CallingConv::ID getCallingConv() const { in getCallingConv() function
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 366 CI->getCallingConv() == cast<CallInst>(I2)->getCallingConv() && in haveSameSpecialState() 370 return CI->getCallingConv() == cast<InvokeInst>(I2)->getCallingConv() && in haveSameSpecialState()
|