Home
last modified time | relevance | path

Searched refs:withElementType (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DAddress.h100 Address withElementType(llvm::Type *ElemTy) const { in withElementType() function
136 ConstantAddress withElementType(llvm::Type *ElemTy) const { in withElementType() function
H A DCGNonTrivialStruct.cpp426 Addr = Addr.withElementType(CGF->CGM.Int8Ty); in getAddrWithOffset()
428 return Addr.withElementType(CGF->CGM.Int8PtrTy); in getAddrWithOffset()
525 DstAddr = DstAddr.withElementType(this->CGF->Int8Ty); in flushTrivialFields()
526 SrcAddr = SrcAddr.withElementType(this->CGF->Int8Ty); in flushTrivialFields()
532 DstAddr = DstAddr.withElementType(Ty); in flushTrivialFields()
533 SrcAddr = SrcAddr.withElementType(Ty); in flushTrivialFields()
554 this->CGF->MakeAddrLValue(DstAddr.withElementType(Ty), FT); in visitVolatileTrivial()
562 Address DstAddr = Addrs[DstIdx].withElementType(Ty); in visitVolatileTrivial()
563 Address SrcAddr = Addrs[SrcIdx].withElementType(Ty); in visitVolatileTrivial()
661 Address Loc = DstAddr.withElementType(CGF->Int8Ty); in visitArray()
[all …]
H A DABIInfoImpl.cpp173 VAListAddr = VAListAddr.withElementType(CGF.Int8PtrTy); in emitVoidPtrDirectVAArg()
199 return Addr.withElementType(DirectTy); in emitVoidPtrDirectVAArg()
H A DCGExpr.cpp454 Object = Object.withElementType(Ty); in EmitMaterializeTemporaryExpr()
1320 Addr = Addr.withElementType(ElemTy); in EmitPointerWithAlignment()
2066 return Addr.withElementType(VectorTy); in MaybeConvertMatrixAddress()
2074 return Addr.withElementType(ArrayTy); in MaybeConvertMatrixAddress()
2122 Addr = Addr.withElementType(SrcTy); in EmitStoreOfScalar()
2758 Addr = Addr.withElementType(RealVarTy); in EmitThreadPrivateVarDeclLValue()
3872 Addr = Addr.withElementType(NewTy); in EmitArrayToPointerDecay()
4348 Addr = Addr.withElementType(NewTy); in emitOMPArraySectionBase()
4696 Base = Base.withElementType(CGF.Int8Ty); in emitAddrOfZeroSizeField()
4786 Addr = Addr.withElementType(FieldIntTy); in EmitLValueForField()
[all …]
H A DCGExprAgg.cpp137 StoreDest = StoreDest.withElementType(Result->getType()); in VisitConstantExpr()
754 Address CastPtr = Dest.getAddress().withElementType(CGF.ConvertType(Ty)); in VisitCastExpr()
769 SourceLV.getAddress(CGF).withElementType(CGF.Int8Ty); in VisitCastExpr()
770 Address DestAddress = Dest.getAddress().withElementType(CGF.Int8Ty); in VisitCastExpr()
2025 Address Loc = Slot.getAddress().withElementType(CGF.Int8Ty); in CheckAggExprForMemSetUse()
2189 DestPtr = DestPtr.withElementType(Int8Ty); in EmitAggregateCopy()
2190 SrcPtr = SrcPtr.withElementType(Int8Ty); in EmitAggregateCopy()
H A DCGClass.cpp240 V = V.withElementType(Int8Ty); in GetAddressOfDirectBaseInCompleteClass()
243 return V.withElementType(ConvertType(Base)); in GetAddressOfDirectBaseInCompleteClass()
344 return Value.withElementType(BaseValueTy); in GetAddressOfBaseClass()
381 Value = Value.withElementType(BaseValueTy); in GetAddressOfBaseClass()
415 return BaseAddr.withElementType(DerivedValueTy); in GetAddressOfDerivedClass()
994 DestPtr = DestPtr.withElementType(CGF.Int8Ty); in emitMemcpyIR()
995 SrcPtr = SrcPtr.withElementType(CGF.Int8Ty); in emitMemcpyIR()
2575 VTableField = VTableField.withElementType(PtrTy); in InitializeVTablePointer()
2671 Address VTablePtrSrc = This.withElementType(VTableTy); in GetVTablePtr()
H A DCGDecl.cpp741 srcAddr.withElementType(destLV.getAddress(CGF).getElementType()); in tryEmitARCCopyWeakInit()
1186 return SrcPtr.withElementType(CGM.Int8Ty); in createUnnamedGlobalForMemcpyFrom()
1220 Loc = Loc.withElementType(Ty); in emitStoresForConstant()
1259 Loc.withElementType(CGM.Int8Ty), CurOff); in emitStoresForConstant()
1270 Loc.withElementType(ATy->getElementType()), i); in emitStoresForConstant()
1852 Address Begin = Loc.withElementType(Int8Ty); in emitZeroOrPatternForAutoVarInit()
1983 emitStoresForConstant(CGM, D, Loc.withElementType(CGM.Int8Ty), in EmitAutoVarInit()
2553 DeclPtr = DeclPtr.withElementType(ConvertTypeForMem(Ty)); in EmitParmDecl()
H A DMicrosoftCXXABI.cpp951 Value = Value.withElementType(CGF.Int8Ty); in performBaseAdjustment()
1306 This = This.withElementType(CGM.Int8Ty); in EmitVBPtrStores()
1323 VBPtr = VBPtr.withElementType(GVPtr->getType()); in EmitVBPtrStores()
1464 This = This.withElementType(CGF.Int8Ty); in adjustThisArgumentForVirtualFunctionCall()
1495 Result = Result.withElementType(CGF.Int8Ty); in adjustThisArgumentForVirtualFunctionCall()
1509 Result = Result.withElementType(CGF.Int8Ty); in adjustThisArgumentForVirtualFunctionCall()
2223 This = This.withElementType(CGF.Int8Ty); in performThisAdjustment()
2234 VtorDispPtr = VtorDispPtr.withElementType(CGF.Int32Ty); in performThisAdjustment()
2275 Ret = Ret.withElementType(CGF.Int8Ty); in performReturnAdjustment()
2318 Address numElementsPtr = allocPtr.withElementType(CGF.SizeTy); in readArrayCookieImpl()
[all …]
H A DCGCXXABI.cpp250 ptr = ptr.withElementType(CGF.Int8Ty); in ReadArrayCookie()
H A DItaniumCXXABI.cpp1568 ThisAddr.withElementType(CGF.VoidPtrPtrTy), "vtable"); in emitExactDynamicCast()
2158 Address V = InitialPtr.withElementType(CGF.Int8Ty); in performTypeAdjustment()
2169 Address VTablePtrPtr = V.withElementType(CGF.Int8PtrTy); in performTypeAdjustment()
2265 Address NumElementsPtr = CookiePtr.withElementType(CGF.SizeTy); in InitializeArrayCookie()
2297 numElementsPtr = numElementsPtr.withElementType(CGF.SizeTy); in readArrayCookieImpl()
2336 cookie = cookie.withElementType(CGF.SizeTy); in InitializeArrayCookie()
2359 numElementsPtr = numElementsPtr.withElementType(CGF.SizeTy); in readArrayCookieImpl()
2528 Builder.CreateLoad(guardAddr.withElementType(CGM.Int8Ty)); in EmitGuardedInit()
2609 guardAddr.withElementType(CGM.Int8Ty)); in EmitGuardedInit()
2627 guardAddr.withElementType(CGM.Int8Ty)); in EmitGuardedInit()
H A DCGCall.cpp1293 Src = Src.withElementType(Ty); in CreateCoercedLoad()
1403 Dst = Dst.withElementType(SrcTy); in CreateCoercedStore()
1427 addr = addr.withElementType(CGF.Int8Ty); in emitAddressAtOffset()
1430 addr = addr.withElementType(info.getCoerceToType()); in emitAddressAtOffset()
3262 AddrToStoreInto = Ptr.withElementType(STy); in EmitFunctionProlog()
3307 alloca = alloca.withElementType(coercionType); in EmitFunctionProlog()
3911 Address addr = ReturnValue.withElementType(coercionType); in EmitFunctionEpilog()
5131 Addr = Addr.withElementType(ConvertTypeForMem(I->Ty)); in EmitCall()
5347 Src = Src.withElementType(STy); in EmitCall()
5412 addr = addr.withElementType(coercionType); in EmitCall()
[all …]
H A DCGAtomic.cpp1439 Builder.CreateStore(ResVal, Dest.withElementType(ResVal->getType())); in EmitAtomicExpr()
1445 return convertTempToRValue(Dest.withElementType(ConvertTypeForMem(RValTy)), in EmitAtomicExpr()
1501 return convertTempToRValue(Dest.withElementType(ConvertTypeForMem(RValTy)), in EmitAtomicExpr()
1572 return convertTempToRValue(Dest.withElementType(ConvertTypeForMem(RValTy)), in EmitAtomicExpr()
1579 return addr.withElementType(ty); in castToAtomicIntPointer()
H A DCGExprCXX.cpp510 DestPtr = DestPtr.withElementType(CGF.Int8Ty); in EmitNullBaseClassInitialization()
1101 CurPtr = CurPtr.withElementType(ElementTy); in EmitNewArrayInitializer()
1156 CurPtr = CurPtr.withElementType(BeginPtr.getElementType()); in EmitNewArrayInitializer()
1745 Address result = allocation.withElementType(elementTy); in EmitCXXNewExpr()
H A DCGOpenMPRuntimeGPU.cpp1423 Address ValCastItem = CastItem.withElementType(Val->getType()); in castValueToType()
1601 SrcElementPtrAddr.withElementType(PrivateLlvmPtrType),
1617 SrcElementPtrAddr.withElementType(PrivateLlvmPtrType),
1624 DestElementPtrAddr.withElementType(PrivateLlvmPtrType),
1632 SrcElementAddr = SrcElementAddr.withElementType(
1635 DestElementAddr.withElementType(SrcElementAddr.getElementType());
H A DCGBlocks.cpp2129 destField = destField.withElementType(CGF.Int8Ty); in emitCopy()
2131 srcField = srcField.withElementType(CGF.Int8PtrTy); in emitCopy()
2144 field = field.withElementType(CGF.Int8PtrTy); in emitDispose()
H A DCodeGenFunction.cpp2004 Address begin = dest.withElementType(CGF.Int8Ty); in emitNonZeroVLAInit()
2049 DestPtr = DestPtr.withElementType(Int8Ty); in EmitNullInitialization()
2208 addr = addr.withElementType(baseType); in emitArrayLength()
H A DCGStmt.cpp2213 Builder.CreateLoad(InputValue.getAddress(*this).withElementType(Ty)), in EmitAsmInputLValue()
2414 Address A = Dest.getAddress(CGF).withElementType(ResultRegTypes[i]); in EmitAsmStores()
2623 DestAddr = DestAddr.withElementType(ConvertType(OutExpr->getType())); in EmitAsmStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAArch64.cpp523 VAListAddr = VAListAddr.withElementType(CGF.Int8PtrTy); in EmitAAPCSVAArg()
677 LoadAddr = LoadAddr.withElementType(BaseTy); in EmitAAPCSVAArg()
685 RegAddr = Tmp.withElementType(MemTy); in EmitAAPCSVAArg()
698 RegAddr = BaseAddr.withElementType(MemTy); in EmitAAPCSVAArg()
751 OnStackAddr = OnStackAddr.withElementType(MemTy); in EmitAAPCSVAArg()
H A DSystemZ.cpp305 Address MemAddr = OverflowArgArea.withElementType(DirectTy); in EmitVAArg()
362 Address RegAddr = RawRegAddr.withElementType(DirectTy); in EmitVAArg()
382 Address MemAddr = RawMemAddr.withElementType(DirectTy); in EmitVAArg()
H A DSparc.cpp318 ArgAddr = Addr.withElementType(ArgPtrTy); in EmitVAArg()
331 return ArgAddr.withElementType(ArgTy); in EmitVAArg()
H A DXCore.cpp167 Val = AP.withElementType(ArgTy); in EmitVAArg()
174 Val = AP.withElementType(ArgPtrTy); in EmitVAArg()
H A DPPC.cpp34 RealAddr = RealAddr.withElementType(EltTy); in complexTempStructure()
35 ImagAddr = ImagAddr.withElementType(EltTy); in complexTempStructure()
500 MemAddr = OverflowArea.withElementType(DirectTy); in EmitVAArg()
H A DX86.cpp330 ReturnSlot.setAddress(ReturnSlot.getAddress(CGF).withElementType(CoerceTy)); in addReturnRegisterOutputs()
3086 Tmp = Tmp.withElementType(ST); in EmitVAArg()
3112 RegAddr = Tmp.withElementType(LTy); in EmitVAArg()
3152 Tmp = Tmp.withElementType(ST); in EmitVAArg()
3154 RegAddrLo.withElementType(ST->getStructElementType(0))); in EmitVAArg()
3157 RegAddrHi.withElementType(ST->getStructElementType(1))); in EmitVAArg()
3160 RegAddr = Tmp.withElementType(LTy); in EmitVAArg()
H A DHexagon.cpp237 Address VAListAddrAsBPP = VAListAddr.withElementType(BP); in EmitVAArgForHexagon()
H A DARM.cpp768 VAListAddr = VAListAddr.withElementType(CGF.Int8PtrTy); in EmitVAArg()

12