| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenModule.h | 201 cir::FuncOp 211 std::pair<cir::FuncType, cir::FuncOp> getAddrAndTypeOfCXXStructor( 246 cir::FuncOp 260 GlobalDecl aliasGD, cir::FuncOp aliasee, 276 void setFunctionAttributes(GlobalDecl gd, cir::FuncOp f, 304 cir::FuncOp codegenCXXStructor(clang::GlobalDecl gd); 311 cir::FuncOp 318 cir::FuncOp createCIRFunction(mlir::Location loc, llvm::StringRef name, 324 cir::FuncOp getBuiltinLibFunction(const FunctionDecl *fd, unsigned builtinID); 355 void setFunctionLinkage(GlobalDecl gd, cir::FuncOp f) { in setFunctionLinkage() [all …]
|
| H A D | CIRGenModule.cpp | 404 cir::FuncOp funcOp = dyn_cast_if_present<cir::FuncOp>(op); in emitGlobalFunctionDefinition() 882 auto funcOp = cast<cir::FuncOp>(op); in maybeSetTrivialComdat() 896 void CIRGenModule::replacePointerTypeArgs(cir::FuncOp oldF, cir::FuncOp newF) { in replacePointerTypeArgs() 928 assert(isa<cir::FuncOp>(entry) && "expected function"); in applyReplacements() 929 auto oldF = cast<cir::FuncOp>(entry); in applyReplacements() 930 auto newF = dyn_cast<cir::FuncOp>(replacement); in applyReplacements() 1301 std::pair<cir::FuncType, cir::FuncOp> CIRGenModule::getAddrAndTypeOfCXXStructor( in getAddrAndTypeOfCXXStructor() 1329 cir::FuncOp CIRGenModule::getAddrOfFunction(clang::GlobalDecl gd, in getAddrOfFunction() 1353 cir::FuncOp func = in getAddrOfFunction() 1571 if (!(isa<cir::FuncOp>(gv) && gv.canBenefitFromLocalAlias())) in shouldAssumeDSOLocal() [all …]
|
| H A D | CIRGenCXX.cpp | 22 cir::FuncOp CIRGenModule::codegenCXXStructor(GlobalDecl gd) { in codegenCXXStructor() 26 cir::FuncOp fn = getAddrOfCXXStructor(gd, &fnInfo, /*FnType=*/nullptr, in codegenCXXStructor()
|
| H A D | CIRGenItaniumCXXABI.cpp | 151 auto entry = cast_or_null<cir::FuncOp>(cgm.getGlobalValue(mangledName)); in emitConstructorDestructorAlias() 154 auto aliasee = cast<cir::FuncOp>(cgm.getAddrOfGlobal(targetDecl)); in emitConstructorDestructorAlias()
|
| H A D | CIRGenCall.cpp | 443 cir::FuncOp directFuncOp, in emitCallLikeOp() 571 if (auto calleeFuncOp = dyn_cast<cir::FuncOp>(calleePtr)) in emitCall() 582 cir::FuncOp directFuncOp; in emitCall() 583 if (auto fnOp = dyn_cast<cir::FuncOp>(calleePtr)) { in emitCall()
|
| H A D | CIRGenFunction.cpp | 339 cir::FuncOp fn, cir::FuncType funcType, in startFunction() 423 static void eraseEmptyAndUnusedBlocks(cir::FuncOp func) { in eraseEmptyAndUnusedBlocks() 436 cir::FuncOp CIRGenFunction::generateCode(clang::GlobalDecl gd, cir::FuncOp fn, in generateCode()
|
| H A D | CIRGenFunction.h | 79 cir::FuncOp curFn; 584 cir::FuncOp generateCode(clang::GlobalDecl gd, cir::FuncOp fn, 594 cir::FuncOp fn, cir::FuncType funcType,
|
| H A D | CIRGenBuiltin.cpp | 237 cir::FuncOp CIRGenModule::getBuiltinLibFunction(const FunctionDecl *fd, in getBuiltinLibFunction()
|
| H A D | CIRGenCXXExpr.cpp | 256 cir::FuncOp calleePtr = cgf.cgm.getAddrOfFunction(calleeDecl); in emitNewDeleteCall()
|
| H A D | CIRGenExpr.cpp | 1144 static cir::FuncOp emitFunctionDeclPointer(CIRGenModule &cgm, GlobalDecl gd) { in emitFunctionDeclPointer() 1178 auto fn = cast<cir::FuncOp>(curFn); in emitDirectCallee() 1193 cir::FuncOp callee = emitFunctionDeclPointer(cgm, gd); in emitDirectCallee()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/ |
| H A D | HoistAllocas.cpp | 31 static void process(mlir::ModuleOp mod, cir::FuncOp func) { in process() 74 getOperation()->walk<mlir::WalkOrder::PreOrder>([&](cir::FuncOp op) { in runOnOperation()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/ |
| H A D | CIRDialect.cpp | 717 auto fn = symbolTable.lookupNearestSymbolFrom<cir::FuncOp>(op, fnAttr); in verifyCallCommInSymbolUses() 775 cir::FuncOp function) { in checkReturnAndFunction() 796 while (!isa<cir::FuncOp>(fnOp)) in verify() 800 if (checkReturnAndFunction(*this, cast<cir::FuncOp>(fnOp)).failed()) in verify() 1317 if (op == nullptr || !(isa<GlobalOp>(op) || isa<FuncOp>(op))) in verifySymbolUses() 1327 } else if (auto f = dyn_cast<FuncOp>(op)) { in verifySymbolUses() 1350 void cir::FuncOp::build(OpBuilder &builder, OperationState &result, in build() 1365 ParseResult cir::FuncOp::parse(OpAsmParser &parser, OperationState &state) { in parse() 1459 bool cir::FuncOp::isDeclaration() { in isDeclaration() 1470 mlir::Region *cir::FuncOp::getCallableRegion() { in getCallableRegion() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Lowering/DirectToLLVM/ |
| H A D | LowerToLLVM.h | 233 class CIRToLLVMFuncOpLowering : public mlir::OpConversionPattern<cir::FuncOp> { 237 cir::FuncOp func, bool filterArgAndResAttrs, 241 using mlir::OpConversionPattern<cir::FuncOp>::OpConversionPattern; 244 matchAndRewrite(cir::FuncOp op, OpAdaptor,
|
| H A D | LowerToLLVM.cpp | 1123 cir::FuncOp func, bool filterArgAndResAttrs, in lowerFuncAttributes() 1144 cir::FuncOp op, OpAdaptor adaptor, in matchAndRewrite()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/Builder/ |
| H A D | CIRBaseBuilder.h | 237 cir::CallOp createCallOp(mlir::Location loc, cir::FuncOp callee,
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/ |
| H A D | CIROps.td | 464 def ReturnOp : CIR_Op<"return", [ParentOneOf<["FuncOp", "ScopeOp", "IfOp", 1902 // FuncOp 1905 // TODO(CIR): FuncOp is still a tiny shell of what it will become. Many more 1908 def FuncOp : CIR_Op<"func", [ 1915 The `cir.func` operation defines a function, similar to the `mlir::FuncOp`
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBaseInstrInfo.cpp | 6379 unsigned FuncOp = isThumb ? 2 : 0; in buildOutlinedFrame() local 6380 unsigned Opc = Call->getOperand(FuncOp).isReg() in buildOutlinedFrame() 6386 .add(Call->getOperand(FuncOp)); in buildOutlinedFrame() 6387 if (isThumb && !Call->getOperand(FuncOp).isReg()) in buildOutlinedFrame()
|