Home
last modified time | relevance | path

Searched refs:paramIndex (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1505 unsigned paramIndex = 0; in emitFunctionParamList() local
1518 for (I = F->arg_begin(), E = F->arg_end(); I != E; ++I, paramIndex++) { in emitFunctionParamList()
1535 O << TLI->getParamName(F, paramIndex); in emitFunctionParamList()
1542 O << TLI->getParamName(F, paramIndex); in emitFunctionParamList()
1549 O << TLI->getParamName(F, paramIndex); in emitFunctionParamList()
1556 paramIndex](Type *Ty) -> Align { in emitFunctionParamList()
1558 getAlign(*F, paramIndex + AttributeList::FirstArgIndex)) in emitFunctionParamList()
1562 MaybeAlign ParamAlign = PAL.getParamAlignment(paramIndex); in emitFunctionParamList()
1566 if (!PAL.hasParamAttr(paramIndex, Attribute::ByVal)) { in emitFunctionParamList()
1575 O << TLI->getParamName(F, paramIndex); in emitFunctionParamList()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp2551 auto checkCompatible = [&](unsigned paramIndex, RequiredCC required) { in checkExtParameterInfos() argument
2558 S.Diag(getParamLoc(paramIndex), diag::err_swift_param_attr_not_swiftcall) in checkExtParameterInfos()
2559 << getParameterABISpelling(EPI.ExtParameterInfos[paramIndex].getABI()) in checkExtParameterInfos()
2563 for (size_t paramIndex = 0, numParams = paramTypes.size(); in checkExtParameterInfos() local
2564 paramIndex != numParams; ++paramIndex) { in checkExtParameterInfos()
2565 switch (EPI.ExtParameterInfos[paramIndex].getABI()) { in checkExtParameterInfos()
2573 checkCompatible(paramIndex, RequiredCC::SwiftOrSwiftAsync); in checkExtParameterInfos()
2574 if (paramIndex != 0 && in checkExtParameterInfos()
2575 EPI.ExtParameterInfos[paramIndex - 1].getABI() in checkExtParameterInfos()
2577 S.Diag(getParamLoc(paramIndex), in checkExtParameterInfos()
[all …]