Home
last modified time | relevance | path

Searched refs:getTypes (Results 1 – 25 of 99) sorted by relevance

1234

/llvm-project-15.0.7/mlir/lib/IR/
H A DValueRange.cpp17 TypeRangeRange OperandRangeRange::getTypes() const { in getTypes() function in OperandRangeRange
21 TypeRangeRange OperandRangeRange::getType() const { return getTypes(); } in getType()
26 OperandRange::type_range OperandRange::getTypes() const { in getTypes() function in OperandRange
30 OperandRange::type_range OperandRange::getType() const { return getTypes(); } in getType()
35 ResultRange::type_range ResultRange::getTypes() const { in getTypes() function in ResultRange
39 ResultRange::type_range ResultRange::getType() const { return getTypes(); } in getType()
44 ValueRange::type_range ValueRange::getTypes() const { return {begin(), end()}; } in getTypes() function in ValueRange
46 ValueRange::type_range ValueRange::getType() const { return getTypes(); } in getType()
H A DTypeDetail.h120 bool operator==(const KeyTy &key) const { return key == getTypes(); }
126 ArrayRef<Type> getTypes() const { in getTypes() function
H A DBuiltinDialect.cpp162 inputOp.getOperandTypes() != results.getTypes()) in fold()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenABITypes.cpp39 return CGM.getTypes().arrangeObjCMessageSendSignature(MD, receiverType); in arrangeObjCMessageSendSignature()
45 return CGM.getTypes().arrangeFreeFunctionType(Ty); in arrangeFreeFunctionType()
51 return CGM.getTypes().arrangeFreeFunctionType(Ty); in arrangeFreeFunctionType()
59 return CGM.getTypes().arrangeCXXMethodType(RD, FTP, MD); in arrangeCXXMethodType()
68 return CGM.getTypes().arrangeLLVMFunctionInfo( in arrangeFreeFunctionCall()
100 llvm::Type *T = CGM.getTypes().ConvertType(FD->getType()); in convertFreeFunctionType()
110 return CGM.getTypes().ConvertTypeForMem(T); in convertTypeForMemory()
116 return CGM.getTypes().getCGRecordLayout(RD).getLLVMFieldNo(FD); in getLLVMFieldNumber()
H A DCGCXX.cpp135 llvm::Type *AliasValueType = getTypes().GetFunctionType(AliasDecl); in TryEmitBaseDestructorAsAlias()
208 const CGFunctionInfo &FnInfo = getTypes().arrangeCXXStructorDeclaration(GD); in codegenCXXStructor()
237 FnInfo = &getTypes().arrangeCXXStructorDeclaration(GD); in getAddrAndTypeOfCXXStructor()
238 FnType = getTypes().GetFunctionType(*FnInfo); in getAddrAndTypeOfCXXStructor()
303 const CGFunctionInfo &FInfo = CGM.getTypes().arrangeCXXStructorDeclaration( in BuildAppleKextVirtualDestructorCall()
305 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FInfo); in BuildAppleKextVirtualDestructorCall()
H A DCGObjCRuntime.cpp65 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset()
105 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize, in EmitValueForIvarAtOffset()
366 CGM.getTypes().arrangeObjCMessageSendSignature(method, callArgs[0].Ty); in getMessageSendInfo()
369 CGM.getTypes().GetFunctionType(signature)->getPointerTo(); in getMessageSendInfo()
372 CGM.getTypes().arrangeCall(signature, callArgs); in getMessageSendInfo()
379 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
383 CGM.getTypes().GetFunctionType(argsInfo)->getPointerTo(); in getMessageSendInfo()
H A DCGDeclCXX.cpp124 auto DestTy = CGF.getTypes().ConvertType(Type)->getPointerTo( in EmitDeclDestroy()
135 Addr.getPointer(), CGF.getTypes().ConvertType(Type)->getPointerTo()); in EmitDeclDestroy()
244 const CGFunctionInfo &FI = CGM.getTypes().arrangeNullaryFunction(); in createAtExitStub()
279 const CGFunctionInfo &FI = CGM.getTypes().arrangeLLVMFunctionInfo( in createTLSAtExitStub()
695 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXModuleInitFunc()
803 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalInitFunc()
899 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalCleanUpFunc()
960 getContext().VoidTy, Fn, getTypes().arrangeNullaryFunction(), in GenerateCXXGlobalVarDeclInitFunc()
990 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalInitFunc()
1050 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalCleanUpFunc()
[all …]
H A DCGCXXABI.cpp33 return llvm::Constant::getNullValue(CGM.getTypes().ConvertType(T)); in GetBogusMemberPointer()
38 return CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in ConvertMemberPointerType()
51 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType( in EmitLoadOfMemberFunctionPointer()
52 CGM.getTypes().arrangeCXXMethodType(RD, FPT, /*FD=*/nullptr)); in EmitLoadOfMemberFunctionPointer()
H A DCGExprConstant.cpp613 CGM.getTypes().getCGRecordLayout(Field->getParent()); in AppendBitField()
875 llvm::Type *ValTy = CGM.getTypes().ConvertType(Type); in Finalize()
1304 llvm::Type *ValTy = CGM.getTypes().ConvertType(destType); in VisitDesignatedInitUpdateExpr()
1356 return CGM.getTypes().ConvertType(T); in ConvertType()
1737 llvm::Type *boolTy = CGM.getTypes().ConvertTypeForMem(destType); in emitForMemory()
1859 auto destTy = CGM.getTypes().ConvertTypeForMem(DestType); in tryEmit()
1990 return C.getElementBitCast(CGM.getTypes().ConvertTypeForMem(T)); in emitConstantObjCStringLiteral()
2144 llvm::Type *ResultType = CGM.getTypes().ConvertType(DestType); in tryEmitPrivate()
2192 cast<llvm::ArrayType>(CGM.getTypes().ConvertType(DestType)); in tryEmitPrivate()
2348 if (getTypes().isZeroInitializable(T)) in EmitNullConstant()
[all …]
H A DCGVTables.cpp168 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FnInfo); in GenerateVarArgsThunk()
346 const CGFunctionInfo &CallFnInfo = CGM.getTypes().arrangeCXXMethodCall( in EmitCallAndReturnForThunk()
463 Ty = CGM.getTypes().GetFunctionType(FnInfo); in generateThunk()
509 llvm::Type *ThunkVTableTy = CGM.getTypes().GetFunctionTypeForVTable(GD); in maybeEmitThunk()
513 bool IsUnprototyped = !CGM.getTypes().isFuncTypeConvertible( in maybeEmitThunk()
521 IsUnprototyped ? CGM.getTypes().arrangeUnprototypedMustTailThunk(MD) in maybeEmitThunk()
522 : CGM.getTypes().arrangeGlobalDeclaration(GD); in maybeEmitThunk()
523 llvm::FunctionType *ThunkFnTy = CGM.getTypes().GetFunctionType(FnInfo); in maybeEmitThunk()
803 llvm::Type *fnTy = CGM.getTypes().GetFunctionTypeForVTable(GD); in addVTableComponent()
H A DCGBlocks.cpp612 llvm::Type *llvmType = CGM.getTypes().ConvertType(thisType); in computeBlockInfo()
662 CGM.getTypes().ConvertTypeForMem(VT); in computeBlockInfo()
1121 getTypes().ConvertType(getContext().UnsignedLongTy); in getBlockDescriptorType()
1236 CGM.getTypes().arrangeBlockFunctionCall(Args, FuncTy); in EmitBlockCallExpr()
1239 llvm::Type *BlockFTy = CGM.getTypes().GetFunctionType(FnInfo); in EmitBlockCallExpr()
1497 CGM.getTypes().arrangeBlockFunctionDeclaration(fnType, args); in GenerateBlockFunction()
1923 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI); in GenerateCopyHelperFunction()
2112 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI); in GenerateDestroyHelperFunction()
2355 llvm::FunctionType *LTy = CGF.CGM.getTypes().GetFunctionType(FI); in generateByrefCopyHelper()
2420 CGF.CGM.getTypes().arrangeBuiltinFunctionDeclaration(R, args); in generateByrefDisposeHelper()
[all …]
H A DCGExprCXX.cpp48 Args.add(RValue::get(This), CGF.getTypes().DeriveThisType(RD, MD)); in commonEmitCXXMemberOrOperatorCall()
87 auto &FnInfo = CGM.getTypes().arrangeCXXMethodCall( in EmitCXXMemberOrOperatorCall()
107 llvm::Type *NewType = CGM.getTypes().ConvertType(DstTy); in EmitCXXDestructorCall()
115 return EmitCall(CGM.getTypes().arrangeCXXStructorDeclaration(Dtor), Callee, in EmitCXXDestructorCall()
324 FInfo = &CGM.getTypes().arrangeCXXStructorDeclaration( in EmitCXXMemberOrOperatorMemberCallExpr()
327 FInfo = &CGM.getTypes().arrangeCXXMethodDeclaration(CalleeDecl); in EmitCXXMemberOrOperatorMemberCallExpr()
329 llvm::FunctionType *Ty = CGM.getTypes().GetFunctionType(*FInfo); in EmitCXXMemberOrOperatorMemberCallExpr()
474 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required, in EmitCXXMemberPointerCallExpr()
1012 if (!CGM.getTypes().isZeroInitializable(ElementType)) in EmitNewArrayInitializer()
1313 CGF.EmitCall(CGF.CGM.getTypes().arrangeFreeFunctionCall( in EmitNewDeleteCall()
[all …]
H A DCodeGenModule.cpp3211 llvm::Type *Ty = getTypes().GetFunctionType(FI); in EmitGlobal()
3574 getTypes().arrangeGlobalDeclaration(GD); in emitMultiVersionFunctions()
3606 getTypes().arrangeGlobalDeclaration(CurGD); in emitMultiVersionFunctions()
3670 llvm::FunctionType *DeclTy = getTypes().GetFunctionType(FI); in emitCPUDispatchDefinition()
4043 Ty = getTypes().ConvertType(FD->getType()); in GetAddrOfFunction()
4396 auto Ty = getTypes().GetFunctionType(*FInfo); in GetAddrOfGlobal()
4403 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); in GetAddrOfGlobal()
4466 Ty = getTypes().ConvertTypeForMem(ASTTy); in GetAddrOfGlobalVar()
5209 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); in EmitGlobalFunctionDefinition()
5910 Type = getTypes().ConvertTypeForMem(MaterializedType); in GetAddrOfGlobalTemporary()
[all …]
H A DCGOpenMPRuntimeGPU.cpp2113 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitInterWarpCopyFunction()
2419 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitShuffleAndReduceFunction()
2576 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitListToGlobalCopyFunction()
2598 CGM.getTypes().ConvertTypeForMem(StaticTy); in emitListToGlobalCopyFunction()
2689 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitListToGlobalReduceFunction()
2703 CGM.getTypes().ConvertTypeForMem(StaticTy); in emitListToGlobalReduceFunction()
2785 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitGlobalToListCopyFunction()
2807 CGM.getTypes().ConvertTypeForMem(StaticTy); in emitGlobalToListCopyFunction()
2899 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitGlobalToListReduceFunction()
2913 CGM.getTypes().ConvertTypeForMem(StaticTy); in emitGlobalToListReduceFunction()
[all …]
H A DItaniumCXXABI.cpp599 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType( in EmitLoadOfMemberFunctionPointer()
600 CGM.getTypes().arrangeCXXMethodType(RD, FPT, /*FD=*/nullptr)); in EmitLoadOfMemberFunctionPointer()
1004 CodeGenTypes &Types = CGM.getTypes(); in BuildMemberPointer()
1989 &CGM.getTypes().arrangeCXXStructorDeclaration(GD); in EmitVirtualDestructorCall()
1990 llvm::FunctionType *Ty = CGF.CGM.getTypes().GetFunctionType(*FInfo); in EmitVirtualDestructorCall()
2532 assert((TLS || CGF.getTypes().getCodeGenOpts().CXAAtExit) && in emitGlobalDtorWithCXAAtExit()
2772 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FI); in getOrCreateThreadLocalWrapper()
3992 CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy); in BuildVMIClassTypeInfo()
4037 CGM.getTypes().ConvertType(OffsetFlagsTy); in BuildVMIClassTypeInfo()
4112 CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy); in BuildPointerTypeInfo()
[all …]
/llvm-project-15.0.7/mlir/lib/Interfaces/
H A DControlFlowInterfaces.cpp126 TypeRange succInputsTypes = succ.getSuccessorInputs().getTypes(); in verifyTypesAlongAllEdges()
155 return regionInterface.getSuccessorEntryOperands(regionNo).getTypes(); in verifyTypesAlongControlFlowEdges()
201 if (!areTypesCompatible(regionReturnOperands->getTypes(), in verifyTypesAlongControlFlowEdges()
202 terminatorOperands->getTypes())) in verifyTypesAlongControlFlowEdges()
216 return TypeRange(regionReturnOperands->getTypes()); in verifyTypesAlongControlFlowEdges()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DValueRange.h48 type_range getTypes() const;
91 TypeRangeRange getTypes() const;
242 type_range getTypes() const;
379 type_range getTypes() const;
/llvm-project-15.0.7/mlir/lib/Dialect/ArmSVE/Transforms/
H A DLegalizeForLLVMExport.cpp28 if (adaptor.getOperands().getTypes() == op->getOperands().getTypes()) in matchAndRewrite()
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DInferTypeOpInterface.h199 type_range getTypes() const { return {begin(), end()}; } in getTypes() function
200 auto getType() const { return getTypes(); } in getType()
/llvm-project-15.0.7/mlir/lib/Conversion/ReconcileUnrealizedCasts/
H A DReconcileUnrealizedCasts.cpp40 return other.getResultTypes() == op.getInputs().getTypes() && in matchAndRewrite()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Func/
H A DTestDecomposeCallGraphTypes.cpp79 TupleType tuple = builder.getTupleType(inputs.getTypes()); in runOnOperation()
/llvm-project-15.0.7/mlir/lib/Conversion/FuncToLLVM/
H A DFuncToLLVM.cpp568 if (succeeded(typeConverter->convertTypes(op.getOutputs().getTypes(), in matchAndRewrite()
570 convertedTypes == adaptor.getInputs().getTypes()) { in matchAndRewrite()
576 if (succeeded(typeConverter->convertTypes(adaptor.getInputs().getTypes(), in matchAndRewrite()
621 (void)copyUnrankedDescriptors(rewriter, loc, op.getOperands().getTypes(), in matchAndRewrite()
/llvm-project-15.0.7/mlir/test/lib/Rewrite/
H A DTestPDLByteCode.cpp39 return std::make_pair(root->getOperands(), root->getOperands().getTypes()); in customVariadicResultCreate()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDFAEmitter.cpp209 SmallVector<std::string, 4> getTypes() { return Types; } in getTypes() function in __anon8900ab900211::Transition
310 const auto &ActionTypes = Transitions.back().getTypes(); in emit()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/
H A DOpToFuncCallLowering.h89 SmallVector<Type> operandTypes(operands.getTypes()); in getFunctionType()

1234