Home
last modified time | relevance | path

Searched refs:CallOp (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGClass.cpp3029 const CXXMethodDecl *CallOp = Lambda->getLambdaCallOperator(); in EmitLambdaBlockInvokeBody() local
3031 if (CallOp->isVariadic()) { in EmitLambdaBlockInvokeBody()
3052 EmitForwardingCallToLambda(CallOp, CallArgs); in EmitLambdaBlockInvokeBody()
3084 const CXXMethodDecl *CallOp = Lambda->getLambdaCallOperator(); in EmitLambdaDelegatingInvokeBody() local
3090 FunctionTemplateDecl *CallOpTemplate = CallOp->getDescribedFunctionTemplate(); in EmitLambdaDelegatingInvokeBody()
3095 CallOp = cast<CXXMethodDecl>(CorrespondingCallOpSpecialization); in EmitLambdaDelegatingInvokeBody()
3102 EmitLambdaInAllocaImplFn(CallOp, &ImplFnInfo, &ImplFn); in EmitLambdaDelegatingInvokeBody()
3104 EmitForwardingCallToLambda(CallOp, CallArgs, ImplFnInfo, ImplFn); in EmitLambdaDelegatingInvokeBody()
3108 EmitForwardingCallToLambda(CallOp, CallArgs); in EmitLambdaDelegatingInvokeBody()
3130 const CXXMethodDecl *CallOp, const CGFunctionInfo **ImplFnInfo, in EmitLambdaInAllocaImplFn() argument
[all …]
H A DCodeGenFunction.h2394 void EmitLambdaInAllocaImplFn(const CXXMethodDecl *CallOp,
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp682 unsigned CallOp; in lowerCall() local
689 CallOp = SPIRV::OpFunctionPointerCallINTEL; in lowerCall()
706 CallOp = SPIRV::OpFunctionCall; in lowerCall()
716 auto MIB = MIRBuilder.buildInstr(CallOp) in lowerCall()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/
H A DCIRBaseBuilder.h229 cir::CallOp createCallOp(mlir::Location loc, mlir::SymbolRefAttr callee,
232 auto op = create<cir::CallOp>(loc, callee, returnType, operands);
237 cir::CallOp createCallOp(mlir::Location loc, cir::FuncOp callee,
245 cir::CallOp
/freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/
H A DLowerToLLVM.h163 class CIRToLLVMCallOpLowering : public mlir::OpConversionPattern<cir::CallOp> {
165 using mlir::OpConversionPattern<cir::CallOp>::OpConversionPattern;
168 matchAndRewrite(cir::CallOp op, OpAdaptor adaptor,
H A DLowerToLLVM.cpp919 auto newOp = rewriter.replaceOpWithNewOp<mlir::LLVM::CallOp>( in rewriteCallOrInvoke()
930 cir::CallOp op, OpAdaptor adaptor, in matchAndRewrite()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp1745 NamedDecl *CallOp = getLambdaCallOperatorHelper(*this); in getDependentLambdaCallOperator() local
1746 return dyn_cast_or_null<FunctionTemplateDecl>(CallOp); in getDependentLambdaCallOperator()
1750 NamedDecl *CallOp = getLambdaCallOperatorHelper(*this); in getLambdaCallOperator() local
1752 if (CallOp == nullptr) in getLambdaCallOperator()
1755 if (const auto *CallOpTmpl = dyn_cast<FunctionTemplateDecl>(CallOp)) in getLambdaCallOperator()
1758 return cast<CXXMethodDecl>(CallOp); in getLambdaCallOperator()
1762 CXXMethodDecl *CallOp = getLambdaCallOperator(); in getLambdaStaticInvoker() local
1763 assert(CallOp && "null call operator"); in getLambdaStaticInvoker()
1764 CallingConv CC = CallOp->getType()->castAs<FunctionType>()->getCallConv(); in getLambdaStaticInvoker()
1820 CXXMethodDecl *CallOp = getLambdaCallOperator(); in getGenericLambdaTemplateParameterList() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRDialect.cpp561 mlir::OperandRange cir::CallOp::getArgOperands() { in getArgOperands()
567 mlir::MutableOperandRange cir::CallOp::getArgOperandsMutable() { in getArgOperandsMutable()
574 mlir::Value cir::CallOp::getIndirectCall() { in getIndirectCall()
580 Value cir::CallOp::getArgOperand(unsigned i) { in getArgOperand()
587 unsigned cir::CallOp::getNumArgOperands() { in getNumArgOperands()
695 mlir::ParseResult cir::CallOp::parse(mlir::OpAsmParser &parser, in parse()
700 void cir::CallOp::print(mlir::OpAsmPrinter &p) { in print()
766 cir::CallOp::verifySymbolUses(SymbolTableCollection &symbolTable) { in verifySymbolUses()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Interfaces/
H A DCIROpInterfaces.td22 // at arguments and other bits of CallOp. This creates a level of abstraction
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp5411 FunctionDecl *CallOp = Lambda->getLambdaCallOperator(); in DeduceReturnType() local
5415 CallOp = InstantiateFunctionDeclaration( in DeduceReturnType()
5416 CallOp->getDescribedFunctionTemplate(), Args, Loc); in DeduceReturnType()
5417 if (!CallOp || CallOp->isInvalidDecl()) in DeduceReturnType()
5422 if (CallOp->getReturnType()->isUndeducedType()) { in DeduceReturnType()
5424 InstantiateFunctionDefinition(Loc, CallOp); in DeduceReturnType()
5429 if (CallOp->isInvalidDecl()) in DeduceReturnType()
5431 assert(!CallOp->getReturnType()->isUndeducedType() && in DeduceReturnType()
5440 CallOp->getType()->castAs<FunctionProtoType>(), RetTyCC); in DeduceReturnType()
5472 FunctionDecl *CallOp = Lambda->getLambdaCallOperator(); in CheckIfFunctionSpecializationIsImmediate() local
[all …]
H A DSemaDeclCXX.cpp16078 FunctionDecl *CallOp = Lambda->getLambdaCallOperator(); in DefineImplicitLambdaToFunctionPointerConversion() local
16080 CallOp->hasCXXExplicitFunctionObjectParameter() || CallOp->isStatic() in DefineImplicitLambdaToFunctionPointerConversion()
16081 ? CallOp in DefineImplicitLambdaToFunctionPointerConversion()
16085 CallOp = InstantiateFunctionDeclaration( in DefineImplicitLambdaToFunctionPointerConversion()
16086 CallOp->getDescribedFunctionTemplate(), TemplateArgs, CurrentLocation); in DefineImplicitLambdaToFunctionPointerConversion()
16087 if (!CallOp) in DefineImplicitLambdaToFunctionPointerConversion()
16090 if (CallOp != Invoker) { in DefineImplicitLambdaToFunctionPointerConversion()
16099 if (CallOp->isInvalidDecl()) in DefineImplicitLambdaToFunctionPointerConversion()
16107 MarkFunctionReferenced(CurrentLocation, CallOp); in DefineImplicitLambdaToFunctionPointerConversion()
16109 if (Invoker != CallOp) { in DefineImplicitLambdaToFunctionPointerConversion()
[all …]
H A DSemaOverload.cpp4256 CXXMethodDecl *CallOp = Conv2->getParent()->getLambdaCallOperator(); in compareConversionFunctions() local
4257 const auto *CallOpProto = CallOp->getType()->castAs<FunctionProtoType>(); in compareConversionFunctions()
4260 CallOp->getType()->castAs<FunctionType>()->getCallConv(); in compareConversionFunctions()
11682 CXXMethodDecl *CallOp = RD->getLambdaCallOperator(); in shouldSkipNotingLambdaConversionDecl() local
11684 CallOp->getType()->castAs<FunctionType>()->getCallConv(); in shouldSkipNotingLambdaConversionDecl()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp755 unsigned CallOp; in LowerCallResults() local
757 CallOp = WebAssembly::RET_CALL_INDIRECT; in LowerCallResults()
759 CallOp = WebAssembly::CALL_INDIRECT; in LowerCallResults()
761 CallOp = WebAssembly::RET_CALL; in LowerCallResults()
763 CallOp = WebAssembly::CALL; in LowerCallResults()
767 const MCInstrDesc &MCID = TII.get(CallOp); in LowerCallResults()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenCall.cpp453 cir::CallOp op; in emitCallLikeOp()
H A DCIRGenModule.cpp904 auto call = mlir::dyn_cast<cir::CallOp>(u.getUser()); in replacePointerTypeArgs()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FrameLowering.cpp1200 unsigned CallOp; in emitStackProbeCall() local
1202 CallOp = IsLargeCodeModel ? X86::CALL64r : X86::CALL64pcrel32; in emitStackProbeCall()
1204 CallOp = X86::CALLpcrel32; in emitStackProbeCall()
1218 CI = BuildMI(MBB, MBBI, DL, TII.get(CallOp)).addReg(X86::R11); in emitStackProbeCall()
1220 CI = BuildMI(MBB, MBBI, DL, TII.get(CallOp)) in emitStackProbeCall()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIROps.td1999 // CallOp
2089 def CallOp : CIR_CallOpBase<"call", [NoRegionArguments]> {