Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/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 DCGDeclCXX.cpp125 auto DestTy = CGF.getTypes().ConvertType(Type)->getPointerTo( in EmitDeclDestroy()
136 Addr.getPointer(), CGF.getTypes().ConvertType(Type)->getPointerTo()); in EmitDeclDestroy()
198 unsigned ExpectedAddrSpace = getTypes().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit()
245 const CGFunctionInfo &FI = CGM.getTypes().arrangeNullaryFunction(); in createAtExitStub()
280 const CGFunctionInfo &FI = CGM.getTypes().arrangeLLVMFunctionInfo( in createTLSAtExitStub()
540 FTy, FnName.str(), getTypes().arrangeNullaryFunction(), D->getLocation()); in EmitCXXGlobalVarDeclInitFunc()
714 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXModuleInitFunc()
833 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalInitFunc()
929 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalCleanUpFunc()
990 getContext().VoidTy, Fn, getTypes().arrangeNullaryFunction(), in GenerateCXXGlobalVarDeclInitFunc()
[all …]
H A DCGObjCRuntime.cpp66 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset()
106 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize, in EmitValueForIvarAtOffset()
370 CGM.getTypes().arrangeObjCMessageSendSignature(method, callArgs[0].Ty); in getMessageSendInfo()
373 CGM.getTypes().GetFunctionType(signature)->getPointerTo(ProgramAS); in getMessageSendInfo()
376 CGM.getTypes().arrangeCall(signature, callArgs); in getMessageSendInfo()
383 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
387 CGM.getTypes().GetFunctionType(argsInfo)->getPointerTo(ProgramAS); in getMessageSendInfo()
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.cpp614 CGM.getTypes().getCGRecordLayout(Field->getParent()); in AppendBitField()
646 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); in EmitDesignatedInitUpdater()
741 CGM.getTypes().ConvertTypeForMem(Field->getType())); in Build()
876 llvm::Type *ValTy = CGM.getTypes().ConvertType(Type); in Finalize()
1264 cast<llvm::ArrayType>(CGM.getTypes().ConvertType(ILE->getType())); in EmitArrayInitialization()
1304 llvm::Type *ValTy = CGM.getTypes().ConvertType(destType); in VisitDesignatedInitUpdateExpr()
1356 return CGM.getTypes().ConvertType(T); in ConvertType()
1734 llvm::Type *boolTy = CGM.getTypes().ConvertTypeForMem(destType); in emitForMemory()
1856 auto destTy = CGM.getTypes().ConvertTypeForMem(DestType); in tryEmit()
1949 CGM.getTypes().ConvertType(base.getTypeInfoType())->getPointerTo(); in tryEmitBase()
[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()
817 llvm::Type *fnTy = CGM.getTypes().GetFunctionTypeForVTable(GD); in addVTableComponent()
H A DCGBlocks.cpp174 cast<llvm::IntegerType>(CGM.getTypes().ConvertType(C.UnsignedLongTy)); in buildBlockDescriptor()
610 llvm::Type *llvmType = CGM.getTypes().ConvertType(thisType); in computeBlockInfo()
660 CGM.getTypes().ConvertTypeForMem(VT); in computeBlockInfo()
1117 getTypes().ConvertType(getContext().UnsignedLongTy); in getBlockDescriptorType()
1232 CGM.getTypes().arrangeBlockFunctionCall(Args, FuncTy); in EmitBlockCallExpr()
1235 llvm::Type *BlockFTy = CGM.getTypes().GetFunctionType(FnInfo); in EmitBlockCallExpr()
1393 CGM.getTypes().ConvertType(blockInfo.getBlockExpr()->getType()); in buildGlobalBlock()
1493 CGM.getTypes().arrangeBlockFunctionDeclaration(fnType, args); in GenerateBlockFunction()
1497 llvm::FunctionType *fnLLVMType = CGM.getTypes().GetFunctionType(fnInfo); in GenerateBlockFunction()
1915 CGM.getTypes().arrangeBuiltinFunctionDeclaration(ReturnTy, args); in GenerateCopyHelperFunction()
[all …]
H A DCodeGenModule.cpp2420 SetLLVMFunctionAttributes(GD, getTypes().arrangeGlobalDeclaration(GD), F, in SetFunctionAttributes()
3172 llvm::Type *Ty = getTypes().ConvertTypeForMem(GD->getType()); in GetAddrOfMSGuidDecl()
3241 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference()
3246 unsigned AS = getTypes().getTargetAddressSpace(VD->getType()); in GetWeakRefReference()
3338 const CGFunctionInfo &FI = getTypes().arrangeGlobalDeclaration(GD); in EmitGlobal()
3339 llvm::Type *Ty = getTypes().GetFunctionType(FI); in EmitGlobal()
3711 getTypes().arrangeGlobalDeclaration(GD); in emitMultiVersionFunctions()
3712 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); in emitMultiVersionFunctions()
3749 getTypes().arrangeGlobalDeclaration(CurGD); in emitMultiVersionFunctions()
3750 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); in emitMultiVersionFunctions()
[all …]
H A DCGExprCXX.cpp50 Args.add(RValue::get(This), CGF.getTypes().DeriveThisType(RD, MD)); in commonEmitCXXMemberOrOperatorCall()
89 auto &FnInfo = CGM.getTypes().arrangeCXXMethodCall( in EmitCXXMemberOrOperatorCall()
109 llvm::Type *NewType = CGM.getTypes().ConvertType(DstTy); in EmitCXXDestructorCall()
117 return EmitCall(CGM.getTypes().arrangeCXXStructorDeclaration(Dtor), Callee, in EmitCXXDestructorCall()
327 FInfo = &CGM.getTypes().arrangeCXXStructorDeclaration( in EmitCXXMemberOrOperatorMemberCallExpr()
330 FInfo = &CGM.getTypes().arrangeCXXMethodDeclaration(CalleeDecl); in EmitCXXMemberOrOperatorMemberCallExpr()
332 llvm::FunctionType *Ty = CGM.getTypes().GetFunctionType(*FInfo); in EmitCXXMemberOrOperatorMemberCallExpr()
477 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required, in EmitCXXMemberPointerCallExpr()
1015 if (!CGM.getTypes().isZeroInitializable(ElementType)) in EmitNewArrayInitializer()
1316 CGF.EmitCall(CGF.CGM.getTypes().arrangeFreeFunctionCall( in EmitNewDeleteCall()
[all …]
H A DCGOpenMPRuntimeGPU.cpp1761 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitInterWarpCopyFunction()
1762 auto *Fn = llvm::Function::Create(CGM.getTypes().GetFunctionType(CGFI), in emitInterWarpCopyFunction()
2067 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitShuffleAndReduceFunction()
2069 CGM.getTypes().GetFunctionType(CGFI), llvm::GlobalValue::InternalLinkage, in emitShuffleAndReduceFunction()
2224 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitListToGlobalCopyFunction()
2226 CGM.getTypes().GetFunctionType(CGFI), llvm::GlobalValue::InternalLinkage, in emitListToGlobalCopyFunction()
2246 CGM.getTypes().ConvertTypeForMem(StaticTy); in emitListToGlobalCopyFunction()
2337 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitListToGlobalReduceFunction()
2339 CGM.getTypes().GetFunctionType(CGFI), llvm::GlobalValue::InternalLinkage, in emitListToGlobalReduceFunction()
2351 CGM.getTypes().ConvertTypeForMem(StaticTy); in emitListToGlobalReduceFunction()
[all …]
H A DItaniumCXXABI.cpp587 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType( in EmitLoadOfMemberFunctionPointer()
588 CGM.getTypes().arrangeCXXMethodType(RD, FPT, /*FD=*/nullptr)); in EmitLoadOfMemberFunctionPointer()
992 CodeGenTypes &Types = CGM.getTypes(); in BuildMemberPointer()
1983 &CGM.getTypes().arrangeCXXStructorDeclaration(GD); in EmitVirtualDestructorCall()
1984 llvm::FunctionType *Ty = CGF.CGM.getTypes().GetFunctionType(*FInfo); in EmitVirtualDestructorCall()
2288 llvm::FunctionType::get(CGM.getTypes().ConvertType(CGM.getContext().IntTy), in getGuardAcquireFn()
2557 assert((TLS || CGF.getTypes().getCodeGenOpts().CXAAtExit) && in emitGlobalDtorWithCXAAtExit()
2612 FTy, FnName, CGM.getTypes().arrangeNullaryFunction(), SourceLocation()); in createGlobalInitOrCleanupFn()
2628 getTypes().arrangeNullaryFunction(), FunctionArgList(), in unregisterGlobalDtorsWithUnAtExit()
2686 getTypes().arrangeNullaryFunction(), FunctionArgList(), in registerGlobalDtorsWithAtExit()
[all …]
H A DCGObjC.cpp217 llvm::ConstantInt::get(CGM.getTypes().ConvertType(ArgQT), NumElements); in EmitObjCCollectionLiteral()
762 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD); in StartObjCMethod()
844 CGF.EmitCall(CGF.getTypes().arrangeBuiltinFunctionCall(Context.VoidTy, args), in emitStructGetterCall()
1111 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicGetterCall()
1242 RValue RV = EmitCall(getTypes().arrangeBuiltinFunctionCall( in generateObjCGetterBody()
1253 getTypes().ConvertType(getterMethod->getReturnType()))); in generateObjCGetterBody()
1362 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitStructSetterCall()
1400 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicSetterCall()
1546 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1558 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
[all …]
H A DCGOpenCLRuntime.cpp188 CGF.getTypes().ClangCallConvToLLVMCallConv(CallingConv::CC_OpenCLKernel)); in emitOpenCLEnqueuedBlock()
H A DCGExpr.cpp2044 llvm::Type *VectorElementTy = CGM.getTypes().ConvertType(EQT); in EmitExtVectorElementLValue()
2068 llvm::Type *OrigTy = CGM.getTypes().ConvertType(LV.getType()); in EmitLoadOfGlobalRegLValue()
2071 Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy); in EmitLoadOfGlobalRegLValue()
2359 llvm::Type *OrigTy = CGM.getTypes().ConvertType(Dst.getType()); in EmitStoreThroughGlobalRegLValue()
2362 Ty = CGM.getTypes().getDataLayout().getIntPtrType(OrigTy); in EmitStoreThroughGlobalRegLValue()
2580 llvm::Type *RealVarTy = CGF.getTypes().ConvertTypeForMem(VD->getType()); in EmitGlobalVarDeclLValue()
2618 CGM.getTypes().ConvertType(NoProtoType)); in EmitFunctionDeclPointer()
2749 llvm::Type *VarTy = getTypes().ConvertTypeForMem(VD->getType()); in EmitDeclRefLValue()
2751 VarTy, getTypes().getTargetAddressSpace(VD->getType())); in EmitDeclRefLValue()
2858 *this, VD, T, addr, getTypes().ConvertTypeForMem(VD->getType()), in EmitDeclRefLValue()
[all …]
H A DCGCall.cpp1642 unsigned addressSpace = CGM.getTypes().getTargetAddressSpace(ret); in GetFunctionType()
1666 unsigned AddressSpace = CGM.getTypes().getTargetAddressSpace(Ret); in GetFunctionType()
2366 DetermineNoUndef(RetTy, getTypes(), DL, RetAI)) in ConstructAttributeList()
2406 if (getTypes().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList()
2423 SRETAttrs.addStructRetAttr(getTypes().ConvertTypeForMem(RetTy)); in ConstructAttributeList()
2455 getTypes().getTargetAddressSpace(FI.arg_begin()->type) == 0) { in ConstructAttributeList()
2498 DetermineNoUndef(ParamType, getTypes(), DL, AI)) { in ConstructAttributeList()
2525 Attrs.addByValAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2562 Attrs.addByRefAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2582 if (getTypes().getTargetAddressSpace(PTy) == 0 && in ConstructAttributeList()
[all …]
H A DCGOpenMPRuntime.cpp1108 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitCombinerOrInitializer()
1109 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FnInfo); in emitCombinerOrInitializer()
1643 llvm::Type *LlvmPtrTy = CGM.getTypes().ConvertTypeForMem(PtrTy); in getAddrOfDeclareTargetVar()
1734 const auto &FI = CGM.getTypes().arrangeBuiltinFunctionDeclaration( in emitThreadPrivateVarDefinition()
1736 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI); in emitThreadPrivateVarDefinition()
1767 const auto &FI = CGM.getTypes().arrangeBuiltinFunctionDeclaration( in emitThreadPrivateVarDefinition()
1769 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI); in emitThreadPrivateVarDefinition()
1817 InitFunctionTy, Name, CGM.getTypes().arrangeNullaryFunction()); in emitThreadPrivateVarDefinition()
1821 CGM.getTypes().arrangeNullaryFunction(), ArgList, in emitThreadPrivateVarDefinition()
1871 const CGFunctionInfo &FI = CGM.getTypes().arrangeNullaryFunction(); in emitDeclareTargetVarDefinition()
[all …]
H A DCGObjCGNU.cpp2150 CodeGenTypes &Types = CGM.getTypes(); in CGObjCGNU()
2159 BoolTy = CGM.getTypes().ConvertType(CGM.getContext().BoolTy); in CGObjCGNU()
2176 SelectorTy = cast<llvm::PointerType>(CGM.getTypes().ConvertType(selTy)); in CGObjCGNU()
2177 SelectorElemTy = CGM.getTypes().ConvertTypeForMem(selTy->getPointeeType()); in CGObjCGNU()
2194 IdTy = cast<llvm::PointerType>(CGM.getTypes().ConvertType(ASTIdTy)); in CGObjCGNU()
2195 IdElemTy = CGM.getTypes().ConvertTypeForMem( in CGObjCGNU()
2536 CGM.getTypes().ConvertType(ResultType))); in GenerateMessageSendSuper()
2654 CGM.getTypes().ConvertType(ResultType))); in GenerateMessageSend()
2661 IdTy = cast<llvm::PointerType>(CGM.getTypes().ConvertType(ASTIdTy)); in GenerateMessageSend()
2723 CGM.getTypes().isZeroInitializable(ResultType)) { in GenerateMessageSend()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp482 if (const LVTypes *Types = getTypes()) in getTemplateParameterTypes()
749 Traverse(Scope->getTypes()); in traverseParentsAndChildren()
892 if (options().getCompareTypes() && getTypes() && Target->getTypes()) in markMissingParents()
893 LVType::markMissingParents(getTypes(), Target->getTypes()); in markMissingParents()
1049 if (!LVType::parametersMatch(getTypes(), Scope->getTypes())) in equals()
1124 if (const LVTypes *Types = getTypes()) in resolveExtra()
1177 if (!LVType::equals(getTypes(), Scope->getTypes())) in equals()
1839 if (!LVType::parametersMatch(getTypes(), Scope->getTypes())) in equals()
H A DLVCompare.cpp262 if (Error Err = FindMatch(LHS->getTypes(), RHS->getTypes(), "Types")) in execute()
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DDFAEmitter.cpp188 SmallVector<std::string, 4> getTypes() { return Types; } in getTypes() function in __anon1cdffbd70211::Transition
289 const auto &ActionTypes = Transitions.back().getTypes(); in emit()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DSveEmitter.cpp190 ArrayRef<SVEType> getTypes() const { return Types; } in getTypes() function in __anon5066fa640111::Intrinsic
931 OS << getTypes()[0].str() << " " << ProtoName << "("; in emitIntrinsic()
932 for (unsigned I = 0; I < getTypes().size() - 1; ++I) { in emitIntrinsic()
935 OS << getTypes()[I + 1].str(); in emitIntrinsic()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.h212 const TypeList &getTypes() const { return Types; } in getTypes() function
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h212 const TypeList &getTypes() const { return Types; } in getTypes() function
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVReader.h198 const LVTypes &getTypes() const { return Types; } in getTypes() function

123