Home
last modified time | relevance | path

Searched refs:ConvertTypeForMem (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp100 llvm::Type *CodeGenTypes::ConvertTypeForMem(QualType T) { in ConvertTypeForMem() function in CodeGenTypes
172 return ConvertTypeForMem(T); in convertTypeForLoadStore()
636 ResultType = ConvertTypeForMem(A->getElementType()); in ConvertType()
645 ResultType = ConvertTypeForMem(A->getElementType()); in ConvertType()
656 llvm::Type *EltTy = ConvertTypeForMem(A->getElementType()); in ConvertType()
748 ResultType = ConvertTypeForMem(valueType); in ConvertType()
H A DABIInfoImpl.cpp109 return CGF.ConvertTypeForMem( in getVAListElementType()
222 llvm::Type *DirectTy = CGF.ConvertTypeForMem(ValueTy), *ElementTy = DirectTy; in emitVoidPtrVAArg()
438 llvm::Type *ElementTy = CGF.ConvertTypeForMem(Ty); in EmitVAArgInstr()
458 CGF.ConvertTypeForMem(Ty)); in EmitVAArgInstr()
H A DCGRecordLayoutBuilder.cpp148 llvm::Type *Type = Types.ConvertTypeForMem(FD->getType()); in getStorageType()
431 llvm::Type *Type = Types.ConvertTypeForMem(Field->getType()); in accumulateBitFields()
762 llvm::Type *ResLTy = Types.ConvertTypeForMem(Field->getType()); in computeVolatileBitfields()
836 Types.ConvertTypeForMem(F->getType())->getPrimitiveSizeInBits()) - in computeVolatileBitfields()
1055 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); in MakeInfo()
H A DCodeGenABITypes.cpp109 return CGM.getTypes().ConvertTypeForMem(T); in convertTypeForMemory()
H A DCGExprConstant.cpp665 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); in EmitDesignatedInitUpdater()
760 CGM.getTypes().ConvertTypeForMem(Field->getType())); in Build()
1895 llvm::Type *boolTy = CGM.getTypes().ConvertTypeForMem(destType); in emitForMemory()
1915 llvm::Type *DesiredTy = CGM.getTypes().ConvertTypeForMem(destType); in emitForMemory()
2046 auto destTy = CGM.getTypes().ConvertTypeForMem(DestType); in tryEmit()
2193 return C.withElementType(CGM.getTypes().ConvertTypeForMem(T)); in emitConstantObjCStringLiteral()
2614 cast<llvm::PointerType>(getTypes().ConvertTypeForMem(T)), T); in EmitNullConstant()
2617 return llvm::Constant::getNullValue(getTypes().ConvertTypeForMem(T)); in EmitNullConstant()
2621 cast<llvm::ArrayType>(getTypes().ConvertTypeForMem(T)); in EmitNullConstant()
H A DCodeGenTypes.h123 llvm::Type *ConvertTypeForMem(QualType T);
H A DCGDecl.cpp265 llvm::Type *LTy = getTypes().ConvertTypeForMem(Ty); in getOrCreateStaticVarDecl()
428 llvm::Type *elemTy = ConvertTypeForMem(D.getType()); in EmitStaticVarDecl()
1560 allocaTy = ConvertTypeForMem(Ty); in EmitAutoVarAlloca()
1652 llvm::Type *llvmTy = ConvertTypeForMem(VlaSize.Type); in EmitAutoVarAlloca()
2392 llvm::Type *llvmElementType = ConvertTypeForMem(elementType); in emitArrayDestroy()
2422 llvm::Type *elemTy = CGF.ConvertTypeForMem(type); in emitPartialArrayDestroy()
2613 DeclPtr = DeclPtr.withElementType(ConvertTypeForMem(Ty)); in EmitParmDecl()
2822 llvm::Type *Ty = getTypes().ConvertTypeForMem(ASTTy); in EmitOMPAllocateDecl()
H A DCGExpr.cpp156 RawAddress Result = CreateTempAlloca(ConvertTypeForMem(Ty), Align, Name, in CreateMemTemp()
173 return CreateTempAllocaWithoutCast(ConvertTypeForMem(Ty), Align, Name); in CreateMemTempWithoutCast()
467 llvm::Type *Ty = ConvertTypeForMem(E->getType()); in EmitMaterializeTemporaryExpr()
523 llvm::Type *TemporaryType = ConvertTypeForMem(E->getType()); in EmitMaterializeTemporaryExpr()
1312 CGF.ConvertTypeForMem(E->getType()->getPointeeType()); in EmitPointerWithAlignment()
2858 llvm::Type *RealVarTy = CGF.getTypes().ConvertTypeForMem(VD->getType()); in EmitGlobalVarDeclLValue()
3011 llvm::Type *VarTy = getTypes().ConvertTypeForMem(VD->getType()); in EmitDeclRefLValue()
3105 var, ConvertTypeForMem(VD->getType()), getContext().getDeclAlign(VD)); in EmitDeclRefLValue()
3122 *this, VD, T, addr, getTypes().ConvertTypeForMem(VD->getType()), in EmitDeclRefLValue()
3919 return Addr.withElementType(ConvertTypeForMem(EltType)); in EmitArrayToPointerDecay()
[all …]
H A DCGOpenMPRuntimeGPU.cpp784 CGM.getTypes().ConvertTypeForMem(StaticTy); in emitKernelDeinit()
1076 llvm::PointerType *VarPtrTy = CGF.ConvertTypeForMem(VarTy)->getPointerTo(); in emitGenericVarsProlog()
1394 llvm::Type *LLVMCastTy = CGF.ConvertTypeForMem(CastTy); in castValueToType()
1709 ElementType = CGF.ConvertTypeForMem(Private->getType()); in emitReduction()
1958 Src, CGF.ConvertTypeForMem(CGFContext.getPointerType(ElemTy)), in createParallelDataSharingWrapper()
1959 CGF.ConvertTypeForMem(ElemTy)); in createParallelDataSharingWrapper()
2073 llvm::Type *VarTy = CGF.ConvertTypeForMem(VD->getType()); in getAddressOfLocalVariable()
H A DCGOpenMPRuntime.cpp891 PrivateAddr.withElementType(CGF.ConvertTypeForMem(PrivateType)); in emitCleanups()
910 BaseLV.getAddress().withElementType(CGF.ConvertTypeForMem(ElTy)), in loadToBegin()
1571 llvm::Type *LlvmPtrTy = CGM.getTypes().ConvertTypeForMem( in getAddrOfDeclareTargetVar()
1675 Address Arg(ArgVal, CtorCGF.ConvertTypeForMem(ASTTy), in emitThreadPrivateVarDefinition()
1800 llvm::Type *VarLVType = CGF.ConvertTypeForMem(VarType); in getAddrOfArtificialThreadPrivate()
2138 llvm::Type *ElemTy = CGF.ConvertTypeForMem(Var->getType()); in emitAddrOfVarFromArray()
2268 CGM, CGF.ConvertTypeForMem(CopyprivateArrayTy), CopyprivateVars, in emitSingleRegion()
3045 CGF.ConvertTypeForMem(SharedsPtrTy)); in emitProxyTaskFunction()
3282 KmpTaskSharedsPtr, CGF.ConvertTypeForMem(SharedsPtrTy), in emitPrivatesInit()
3283 CGF.ConvertTypeForMem(SharedsTy)), in emitPrivatesInit()
[all …]
H A DCGStmtOpenMP.cpp164 Address(llvm::UndefValue::get(CGF.ConvertTypeForMem( in emitPreInitStmt()
166 CGF.ConvertTypeForMem(OrigVDTy), in emitPreInitStmt()
1026 CGM.getTypes().ConvertTypeForMem(VD->getType()), in EmitOMPCopyinClause()
1197 CGM.getTypes().ConvertTypeForMem(RefTy->getPointeeType()), in EmitOMPLastprivateClauseFinal()
1292 ConvertTypeForMem(RHSVD->getType()))); in EmitOMPReductionClauseInit()
1301 OriginalAddr.withElementType(ConvertTypeForMem(LHSVD->getType())); in EmitOMPReductionClauseInit()
1306 ConvertTypeForMem(RHSVD->getType())) in EmitOMPReductionClauseInit()
1680 CGF.ConvertTypeForMem(CGM.getContext().getPointerType(CVD->getType())), in getAddressOfLocalVariable()
1682 return Address(Addr, CGF.ConvertTypeForMem(CVD->getType()), Align); in getAddressOfLocalVariable()
4898 CGF.ConvertTypeForMem(Pair.first->getType().getNonReferenceType()), in EmitOMPTaskBasedDirective()
[all …]
H A DCGExprCXX.cpp1102 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
1742 llvm::Type *elementTy = ConvertTypeForMem(allocType); in EmitCXXNewExpr()
1772 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr()
2131 Ptr = Builder.CreateInBoundsGEP(Ptr, GEP, ConvertTypeForMem(DeleteTy), in EmitCXXDeleteExpr()
2135 assert(ConvertTypeForMem(DeleteTy) == Ptr.getElementType()); in EmitCXXDeleteExpr()
H A DCGCall.cpp2178 llvm::Type *Ty = Types.ConvertTypeForMem(QTy); in DetermineNoUndef()
2615 SRETAttrs.addStructRetAttr(getTypes().ConvertTypeForMem(RetTy)); in ConstructAttributeList()
2721 Attrs.addByValAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2759 Attrs.addByRefAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2811 Attrs.addStructRetAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2997 V = Address(Builder.CreateLoad(V), ConvertTypeForMem(Ty), in EmitFunctionProlog()
3215 CGM.getDataLayout().getTypeAllocSize(ConvertTypeForMem(Ty)); in EmitFunctionProlog()
4045 llvm::Type *IRTy = CGF.ConvertTypeForMem(Ty); in createPlaceholderSlot()
4238 CGF.ConvertTypeForMem(CRE->getType()->getPointeeType()); in emitWritebackArg()
5091 CGM.getDataLayout().getTypeAllocSize(ConvertTypeForMem(RetTy)); in EmitCall()
[all …]
H A DCGAtomic.cpp1221 return convertTempToRValue(Dest.withElementType(ConvertTypeForMem(RValTy)), in EmitAtomicExpr()
1277 return convertTempToRValue(Dest.withElementType(ConvertTypeForMem(RValTy)), in EmitAtomicExpr()
1348 return convertTempToRValue(Dest.withElementType(ConvertTypeForMem(RValTy)), in EmitAtomicExpr()
1430 ? CGF.ConvertTypeForMem(ValueTy) in ConvertToValueOrAtomic()
H A DCodeGenModule.cpp3613 llvm::Type *Ty = getTypes().ConvertTypeForMem(GD->getType()); in GetAddrOfMSGuidDecl()
3684 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference()
5178 Ty = getTypes().ConvertTypeForMem(ASTTy); in GetAddrOfGlobalVar()
5447 Init = llvm::UndefValue::get(getTypes().ConvertTypeForMem(ASTTy)); in EmitGlobalVarDefinition()
5449 Init = llvm::UndefValue::get(getTypes().ConvertTypeForMem(ASTTy)); in EmitGlobalVarDefinition()
5656 llvm::Type *Ty = getTypes().ConvertTypeForMem(D->getType()); in EmitExternalVarDeclaration()
6033 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(D->getType()); in EmitAliasDefinition()
6135 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(D->getType()); in emitIFuncDefinition()
6609 llvm::Type *Type = getTypes().ConvertTypeForMem(MaterializedType); in GetAddrOfGlobalTemporary()
6663 Type = getTypes().ConvertTypeForMem(MaterializedType); in GetAddrOfGlobalTemporary()
[all …]
H A DCGExprScalar.cpp2243 Addr = Addr.withElementType(CGF.ConvertTypeForMem(DestTy)); in VisitCastExpr()
2251 SourceLVal.getAddress().withElementType(CGF.ConvertTypeForMem(DestTy)); in VisitCastExpr()
2274 CGF.ConvertTypeForMem( in VisitCastExpr()
2372 Addr = Addr.withElementType(CGF.ConvertTypeForMem(DestTy)); in VisitCastExpr()
2959 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in EmitScalarPrePostIncDec()
2982 llvm::Type *elemTy = CGF.ConvertTypeForMem(type); in EmitScalarPrePostIncDec()
3989 llvm::Type *elemTy = CGF.ConvertTypeForMem(vla->getElementType()); in emitPointerArithmetic()
4009 elemTy = CGF.ConvertTypeForMem(elementType); in emitPointerArithmetic()
5551 ConvertTypeForMem(BaseExpr->getType()->getPointeeType()); in EmitObjCIsaExpr()
H A DCGExprAgg.cpp305 CGF.CGM.getDataLayout().getTypeAllocSize(CGF.ConvertTypeForMem(RetTy)); in withReturnValueSlot()
515 llvm::Type *llvmElementType = CGF.ConvertTypeForMem(elementType); in EmitArrayInit()
1827 llvm::Type *llvmElementType = CGF.ConvertTypeForMem(elementType); in VisitArrayInitLoopExpr()
H A DCodeGenFunction.cpp210 : Address(V, CGF.ConvertTypeForMem(T), Alignment, IsKnownNonNull); in makeNaturalAlignAddrLValue()
240 llvm::Type *CodeGenFunction::ConvertTypeForMem(QualType T) { in ConvertTypeForMem() function in CodeGenFunction
241 return CGM.getTypes().ConvertTypeForMem(T); in ConvertTypeForMem()
2293 ConvertTypeForMem(eltType), addr.getAlignment()); in emitArrayLength()
H A DCGDeclCXX.cpp139 Addr = Addr.withElementType(CGF.ConvertTypeForMem(Type)); in EmitDeclDestroy()
H A DCGBlocks.cpp644 CGM.getTypes().ConvertTypeForMem(VT); in computeBlockInfo()
2638 llvm::Type *varTy = ConvertTypeForMem(Ty); in getBlockByrefInfo()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DHexagon.cpp215 llvm::Type *PTy = CGF.ConvertTypeForMem(Ty); in EmitVAArgFromMemory()
392 llvm::Type *OverflowPTy = CGF.ConvertTypeForMem(Ty); in EmitVAArgForHexagonLinux()
402 llvm::Type *MemTy = CGF.ConvertTypeForMem(Ty); in EmitVAArgForHexagonLinux()
H A DSystemZ.cpp264 llvm::Type *ArgTy = CGF.ConvertTypeForMem(Ty); in EmitVAArg()
H A DX86.cpp988 llvm::Type *LLTy = CGT.ConvertTypeForMem(Type); in addFieldToArgStruct()
3005 llvm::Type *LTy = CGF.ConvertTypeForMem(Ty); in EmitX86_64VAArgFromMemory()
3099 llvm::Type *LTy = CGF.ConvertTypeForMem(Ty); in EmitVAArg()
H A DAArch64.cpp662 llvm::Type *MemTy = CGF.ConvertTypeForMem(Ty), *ElementTy = MemTy; in EmitAAPCSVAArg()
H A DPPC.cpp34 llvm::Type *EltTy = CGF.ConvertTypeForMem(CTy->getElementType()); in complexTempStructure()

12