Home
last modified time | relevance | path

Searched full:functiontype (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/llvm-project/libcxx/benchmarks/
H A Dfunction.bench.cpp
/llvm-project/libc/benchmarks/automemcpy/lib/
H A DCodeGen.cpp
/llvm-project/flang/lib/Optimizer/Builder/
H A DLowLevelIntrinsics.cpp29 mlir::FunctionType::get(builder.getContext(), args, std::nullopt); in getLlvmMemcpy()
39 mlir::FunctionType::get(builder.getContext(), args, std::nullopt); in getLlvmMemmove()
49 mlir::FunctionType::get(builder.getContext(), args, std::nullopt); in getLlvmMemset()
57 auto reallocTy = mlir::FunctionType::get(builder.getContext(), args, {ptrTy}); in getRealloc()
65 mlir::FunctionType::get(builder.getContext(), std::nullopt, {int32Ty}); in getLlvmGetRounding()
74 mlir::FunctionType::get(builder.getContext(), {int32Ty}, std::nullopt); in getLlvmSetRounding()
82 auto funcTy = mlir::FunctionType::get(builder.getContext(), in getLlvmStackSave()
91 auto funcTy = mlir::FunctionType::get(builder.getContext(), {ptrTy}, {ptrTy}); in getLlvmStackRestore()
99 mlir::FunctionType::get(builder.getContext(), {int32Ty}, {int32Ty}); in getLlvmInitTrampoline()
108 mlir::FunctionType
[all...]
/llvm-project/llvm/unittests/IR/
H A DVerifierTest.cpp29 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
52 FunctionType *FTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg=*/false); in TEST()
100 FunctionType *FTy = FunctionType::get(Type::getInt32Ty(C), /*isVarArg=*/false); in TEST()
122 FunctionType *FTy = in TEST()
123 FunctionType::get(Type::getFloatTy(C), /*isVarArg=*/false); in TEST()
153 FunctionType *FTy = FunctionType in TEST()
[all...]
H A DVFABIDemanglerTest.cpp27 /// and a scalar FunctionType, which are used by tests to check that:
30 /// of arguments in the scalar function passed as FunctionType string.
49 ScalarFTy = dyn_cast<FunctionType>(Ty); in reset()
60 FunctionType *ScalarFTy = nullptr;
76 /// \p ScalarFTyStr FunctionType string to get the signature of the scalar
96 FunctionType *getFunctionType() { in getFunctionType()
103 FunctionType *FTyMaskVLen2_i32 = FunctionType::get(
111 FunctionType *FTyNoMaskVLen2_i32 = FunctionType
[all...]
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h18 class FunctionType; variable
355 virtual FunctionType *getFunctionType(const Module &M) const = 0;
371 explicit AMDGPULibFunc(EFuncId Id, FunctionType *FT, bool SignedInts);
374 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT);
409 bool isCompatibleSignature(const Module &M, const FunctionType *FuncTy) const;
418 FunctionType *getFunctionType(const Module &M) const {
440 explicit AMDGPUMangledLibFunc(EFuncId id, FunctionType *FT,
445 FunctionType *getFunctionType(const Module &M) const override;
465 FunctionType *FuncTy;
469 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *F in mangle()
[all...]
/llvm-project/polly/lib/CodeGen/
H A DLoopGeneratorsGOMP.cpp33 Type *Params[] = {PointerType::getUnqual(FunctionType::get( in createCallSpawnThreads()
41 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallSpawnThreads()
64 FunctionType *FT = in prepareSubFnDefinition()
65 FunctionType::get(Builder.getVoidTy(), {Builder.getPtrTy()}, false); in prepareSubFnDefinition()
187 FunctionType *Ty = FunctionType::get(Builder.getInt8Ty(), Params, false); in createCallGetWorkItem()
208 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), false); in createCallJoinThreads()
225 FunctionType *T in createCallCleanupThread()
[all...]
H A DLoopGeneratorsKMP.cpp33 KMPCMicroTy = FunctionType::get(Builder.getVoidTy(), MicroParams, true); in createCallSpawnThreads()
42 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, true); in createCallSpawnThreads()
80 FunctionType *FT = FunctionType::get(Builder.getVoidTy(), Arguments, false); in prepareSubFnDefinition()
319 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), Params, false); in createCallGlobalThreadNum()
339 FunctionType *Ty = FunctionType::get(Builder.getVoidTy(), Params, false); in createCallPushNumThreads()
372 FunctionType *T in createCallStaticInit()
[all...]
H A DRuntimeDebugBuilder.cpp36 FunctionType *Ty = FunctionType::get( in getVPrintF()
124 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), true); in getPrintF()
149 FunctionType *Ty = in createFlush()
150 FunctionType::get(Builder.getInt32Ty(), Builder.getPtrTy(), false); in createFlush()
/llvm-project/flang/lib/Optimizer/Builder/Runtime/
H A DTemporaryStack.cpp20 mlir::FunctionType funcType = func.getFunctionType(); in genCreateValueStack()
33 mlir::FunctionType funcType = func.getFunctionType(); in genPushValue()
44 mlir::FunctionType funcType = func.getFunctionType(); in genValueAt()
55 mlir::FunctionType funcType = func.getFunctionType(); in genDestroyValueStack()
65 mlir::FunctionType funcType = func.getFunctionType(); in genCreateDescriptorStack()
80 mlir::FunctionType funcType = func.getFunctionType(); in genPushDescriptor()
92 mlir::FunctionType funcType = func.getFunctionType(); in genDescriptorAt()
104 mlir::FunctionType funcType = func.getFunctionType(); in genDestroyDescriptorStack()
H A DReduction.cpp35 return mlir::FunctionType::get(ctx, {boxTy, strTy, intTy, intTy, boxTy}, in getTypeModel()
51 return mlir::FunctionType::get(ctx, {boxTy, strTy, intTy, intTy, boxTy}, in getTypeModel()
68 return mlir::FunctionType::get(ctx, {boxTy, strTy, intTy, intTy, boxTy}, in getTypeModel()
86 return mlir::FunctionType::get(ctx, {boxTy, strTy, intTy, intTy, boxTy}, in getTypeModel()
102 return mlir::FunctionType::get(ctx, {boxTy, strTy, intTy, intTy, boxTy}, in getTypeModel()
118 return mlir::FunctionType::get(ctx, {boxTy, strTy, intTy, intTy, boxTy}, in getTypeModel()
135 return mlir::FunctionType::get(ctx, {boxTy, strTy, intTy, intTy, boxTy}, in getTypeModel()
153 return mlir::FunctionType::get(ctx, {boxTy, strTy, intTy, intTy, boxTy},
181 return mlir::FunctionType::get(ctx, {boxTy, strTy, intTy, intTy}, {ty}); in getTypeModel()
196 return mlir::FunctionType in getTypeModel()
[all...]
H A DNumeric.cpp31 return mlir::FunctionType::get(ctx, {ty}, {ty}); in getTypeModel()
42 return mlir::FunctionType::get(ctx, {ty}, {ty}); in getTypeModel()
54 return mlir::FunctionType::get(ctx, fltTy, intTy); in getTypeModel()
65 return mlir::FunctionType::get(ctx, fltTy, intTy); in getTypeModel()
77 return mlir::FunctionType::get(ctx, fltTy, intTy); in getTypeModel()
88 return mlir::FunctionType::get(ctx, fltTy, intTy); in getTypeModel()
99 return mlir::FunctionType::get(ctx, {ty}, {ty}); in getTypeModel()
110 return mlir::FunctionType::get(ctx, {ty}, {ty}); in getTypeModel()
123 return mlir::FunctionType::get(ctx, {fltTy, fltTy, strTy, intTy}, in getTypeModel()
137 return mlir::FunctionType in getTypeModel()
[all...]
/llvm-project/mlir/lib/Conversion/AsyncToLLVM/
H A DAsyncToLLVM.cpp87 static FunctionType addOrDropRefFunctionType(MLIRContext *ctx) { in addOrDropRefFunctionType()
90 return FunctionType::get(ctx, {ref, count}, {}); in addOrDropRefFunctionType()
93 static FunctionType createTokenFunctionType(MLIRContext *ctx) { in createTokenFunctionType()
94 return FunctionType::get(ctx, {}, {TokenType::get(ctx)}); in createTokenFunctionType()
97 static FunctionType createValueFunctionType(MLIRContext *ctx) { in createValueFunctionType()
100 return FunctionType::get(ctx, {i64}, {value}); in createValueFunctionType()
103 static FunctionType createGroupFunctionType(MLIRContext *ctx) { in createGroupFunctionType()
105 return FunctionType::get(ctx, {i64}, {GroupType::get(ctx)}); in createGroupFunctionType()
108 static FunctionType getValueStorageFunctionType(MLIRContext *ctx) { in getValueStorageFunctionType()
110 return FunctionType in getValueStorageFunctionType()
[all...]
/llvm-project/libc/benchmarks/automemcpy/unittests/
H A DCodeGenTest.cpp
H A DResultAnalyzerTest.cpp
/llvm-project/llvm/test/tools/llvm-readobj/COFF/
H A Dcodeview-merging.test36 OBJ1-NEXT: FunctionType: int (B*) (0x100C)
42 OBJ1-NEXT: FunctionType: int (A*) (0x1003)
50 OBJ2-NEXT: FunctionType: int (A*) (0x100C)
57 OBJ2-NEXT: FunctionType: int (B*) (0x1003)
103 CHECK-NEXT: FunctionType: int (B*)
109 CHECK-NEXT: FunctionType: int (A*)
/llvm-project/llvm/lib/Frontend/Offloading/
H A DOffloadWrapper.cpp192 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createUnregisterFunction()
199 auto *UnRegFuncTy = FunctionType::get(Type::getVoidTy(C), getBinDescPtrTy(M), in createUnregisterFunction()
215 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createRegisterFunction()
221 auto *RegFuncTy = FunctionType::get(Type::getVoidTy(C), getBinDescPtrTy(M), in createRegisterFunction()
226 auto *AtExitTy = FunctionType::get( in createRegisterFunction()
342 auto *RegFuncTy = FunctionType::get( in createRegisterGlobalsFunction()
351 auto *RegVarTy = FunctionType::get( in createRegisterGlobalsFunction()
360 FunctionType *RegManagedVarTy = in createRegisterGlobalsFunction()
361 FunctionType::get(Type::getVoidTy(C), in createRegisterGlobalsFunction()
370 FunctionType *RegSurfaceT in createRegisterGlobalsFunction()
[all...]
/llvm-project/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITTest.cpp102 startFunction(M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F()
131 FunctionType::get(Builder.getInt32Ty(), {}, false),
168 M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), "Inner"); in TEST_F()
176 FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F()
200 M.get(), FunctionType::get(Builder.getVoidTy(), {}, false), "_exit"); in TEST_F()
215 M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F()
217 startFunction(M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F()
253 FunctionType *Int32VoidFnTy = in TEST_F()
254 FunctionType::get(Builder.getInt32Ty(), {}, false); in TEST_F()
/llvm-project/flang/lib/Optimizer/Transforms/
H A DAbstractResult.cpp58 bool hasScalarDerivedResult(mlir::FunctionType funTy) { in getNewFunctionType()
83 static mlir::FunctionType getNewFunctionType(mlir::FunctionType funcTy,
89 return mlir::FunctionType::get(funcTy.getContext(), newInputTypes, in matchAndRewrite()
99 static mlir::FunctionType getCPtrFunctionType(mlir::FunctionType funcTy) { in matchAndRewrite()
103 return mlir::FunctionType::get(funcTy.getContext(), funcTy.getInputs(), in matchAndRewrite()
166 auto newFuncTy = mlir::FunctionType::get(op.getContext(), newInputTypes, in matchAndRewrite()
330 auto oldFuncTy = mlir::cast<mlir::FunctionType>(addrOf.getType()); in runOnSpecificOperation()
331 mlir::FunctionType newFuncT in runOnSpecificOperation()
[all...]
/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp239 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); in createAtExitStub()
288 FunctionType::ExtInfo(), {}, RequiredArgs::All); in createTLSAtExitStub()
291 llvm::FunctionType *StubTy = in createTLSAtExitStub()
292 llvm::FunctionType::get(CGM.IntTy, {CGM.IntTy}, true); in createTLSAtExitStub()
350 llvm::FunctionType::get(CGM.VoidTy, false), in registerGlobalDtorWithAtExit()
354 llvm::FunctionType *atexitTy = in registerGlobalDtorWithAtExit()
355 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit()
377 llvm::FunctionType::get(CGM.VoidTy, false), in unregisterGlobalDtorWithUnAtExit()
381 llvm::FunctionType *unatexitT in unregisterGlobalDtorWithUnAtExit()
1112 GenerateCXXGlobalCleanUpFunc(llvm::Function * Fn,ArrayRef<std::tuple<llvm::FunctionType *,llvm::WeakTrackingVH,llvm::Constant * >> DtorsOrStermFinalizers) GenerateCXXGlobalCleanUpFunc() argument
[all...]
/llvm-project/llvm/include/llvm/IR/
H A DVFABIDemangler.h100 static VFShape getScalarShape(const FunctionType *FTy) { in getScalarShape()
108 static VFShape get(const FunctionType *FTy, ElementCount EC, in get()
178 /// \param FTy -> FunctionType of the scalar function which we're trying to find
184 const FunctionType *FTy);
200 /// Constructs a FunctionType by applying vector function information to the
206 /// \returns a pointer to a newly created vector FunctionType
207 FunctionType *createFunctionType(const VFInfo &Info,
208 const FunctionType *ScalarFTy);
H A DDerivedTypes.h105 class FunctionType : public Type {
106 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs);
109 FunctionType(const FunctionType &) = delete;
110 FunctionType &operator=(const FunctionType &) = delete;
112 /// This static method is the primary way of constructing a FunctionType.
113 static FunctionType *get(Type *Result,
116 /// Create a FunctionType taking no parameters.
117 static FunctionType *ge
[all...]
/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/
H A DBufferResultsToOutParams.cpp56 auto functionType = func.getFunctionType(); in updateFuncOp()
60 BitVector erasedResultIndices(functionType.getNumResults()); in updateFuncOp()
61 for (const auto &resultType : llvm::enumerate(functionType.getResults())) { in updateFuncOp()
78 llvm::concat<const Type>(functionType.getInputs(), erasedResultTypes)); in updateFuncOp()
79 auto newFunctionType = FunctionType::get(func.getContext(), newArgTypes, in updateFuncOp()
80 functionType.getResults()); in updateFuncOp()
86 func.setArgAttrs(functionType.getNumInputs() + i, in updateFuncOp()
89 func.setArgAttr(functionType.getNumInputs() + i, in updateFuncOp()
54 auto functionType = func.getFunctionType(); updateFuncOp() local
/llvm-project/llvm/unittests/Transforms/Utils/
H A DValueMapperTest.cpp175 FunctionType *FTy = in TEST()
176 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST()
234 FunctionType *FTy = in TEST()
235 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST()
269 FunctionType *FTy = in TEST()
270 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST()
288 FunctionType *FTy = in TEST()
289 FunctionType::get(Type::getVoidTy(C), Type::getInt8Ty(C), false); in TEST()
330 FunctionType *FTy = in TEST()
331 FunctionType in TEST()
[all...]
/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp57 FunctionType *StatReportTy = FunctionType::get(B.getVoidTy(), PtrTy, false); in create()
92 auto F = Function::Create(FunctionType::get(VoidTy, false), in finish()
97 FunctionType *StatInitTy = FunctionType::get(VoidTy, Int8PtrTy, false); in finish()

12345678910>>...28