| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 439 Addr = Addr.withElementType(CGF->CGM.Int8Ty); in getAddrWithOffset() 441 return Addr.withElementType(CGF->CGM.Int8PtrTy); in getAddrWithOffset() 538 DstAddr = DstAddr.withElementType(this->CGF->Int8Ty); in flushTrivialFields() 539 SrcAddr = SrcAddr.withElementType(this->CGF->Int8Ty); in flushTrivialFields() 545 DstAddr = DstAddr.withElementType(Ty); in flushTrivialFields() 546 SrcAddr = SrcAddr.withElementType(Ty); in flushTrivialFields() 567 this->CGF->MakeAddrLValue(DstAddr.withElementType(Ty), FT); in visitVolatileTrivial() 571 this->CGF->MakeAddrLValue(SrcAddr.withElementType(Ty), FT); in visitVolatileTrivial() 575 Address DstAddr = Addrs[DstIdx].withElementType(Ty); in visitVolatileTrivial() 576 Address SrcAddr = Addrs[SrcIdx].withElementType(Ty); in visitVolatileTrivial() [all …]
|
| H A D | Address.h | 100 RawAddress withElementType(llvm::Type *ElemTy) const { in withElementType() function 276 Address withElementType(llvm::Type *ElemTy) const { in withElementType() function 312 ConstantAddress withElementType(llvm::Type *ElemTy) const { in withElementType() function
|
| H A D | CGClass.cpp | 237 V = V.withElementType(Int8Ty); in GetAddressOfDirectBaseInCompleteClass() 240 return V.withElementType(ConvertType(Base)); in GetAddressOfDirectBaseInCompleteClass() 341 return Value.withElementType(BaseValueTy); in GetAddressOfBaseClass() 379 Value = Value.withElementType(BaseValueTy); in GetAddressOfBaseClass() 413 return BaseAddr.withElementType(DerivedValueTy); in GetAddressOfDerivedClass() 431 Address Addr = BaseAddr.withElementType(Int8Ty); in GetAddressOfDerivedClass() 437 Addr = Addr.withElementType(DerivedValueTy); in GetAddressOfDerivedClass() 1002 DestPtr = DestPtr.withElementType(CGF.Int8Ty); in emitMemcpyIR() 1003 SrcPtr = SrcPtr.withElementType(CGF.Int8Ty); in emitMemcpyIR() 2595 VTableField = VTableField.withElementType(PtrTy); in InitializeVTablePointer() [all …]
|
| H A D | CGExprAgg.cpp | 867 Address CastPtr = Dest.getAddress().withElementType(CGF.ConvertType(Ty)); in VisitCastExpr() 881 Address SourceAddress = SourceLV.getAddress().withElementType(CGF.Int8Ty); in VisitCastExpr() 882 Address DestAddress = Dest.getAddress().withElementType(CGF.Int8Ty); in VisitCastExpr() 1955 Address Addr = Dest.getAddress().withElementType(CGF.CharTy); in DoZeroInitPadding() 1974 Addr = Builder.CreateConstGEP(Addr.withElementType(CGF.CharTy), in DoZeroInitPadding() 1976 Addr = Addr.withElementType( in DoZeroInitPadding() 2194 Address Loc = Slot.getAddress().withElementType(CGF.Int8Ty); in CheckAggExprForMemSetUse() 2373 DestPtr = DestPtr.withElementType(Int8Ty); in EmitAggregateCopy() 2374 SrcPtr = SrcPtr.withElementType(Int8Ty); in EmitAggregateCopy()
|
| H A D | ABIInfoImpl.cpp | 170 VAListAddr = VAListAddr.withElementType(CGF.Int8PtrTy); in emitVoidPtrDirectVAArg() 196 return Addr.withElementType(DirectTy); in emitVoidPtrDirectVAArg()
|
| H A D | CGExpr.cpp | 505 Object = Object.withElementType(Ty); in EmitMaterializeTemporaryExpr() 561 Object = Object.withElementType(TemporaryType); in EmitMaterializeTemporaryExpr() 1369 Addr = Addr.withElementType(ElemTy); in EmitPointerWithAlignment() 2043 Address Cast = Addr.withElementType(NewVecTy); in EmitLoadOfScalar() 2061 Addr.withElementType(convertTypeForLoadStore(Ty, Addr.getElementType())); in EmitLoadOfScalar() 2145 return Addr.withElementType(VectorTy); in MaybeConvertMatrixAddress() 2153 return Addr.withElementType(ArrayTy); in MaybeConvertMatrixAddress() 2196 Addr = Addr.withElementType(SrcTy); in EmitStoreOfScalar() 2423 Address CastToPointerElement = VectorAddress.withElementType(VectorElementTy); in EmitExtVectorElementLValue() 2898 Addr = Addr.withElementType(RealVarTy); in EmitThreadPrivateVarDeclLValue() [all …]
|
| H A D | CGDecl.cpp | 729 srcAddr = srcAddr.withElementType(destLV.getAddress().getElementType()); in tryEmitARCCopyWeakInit() 1180 return SrcPtr.withElementType(CGM.Int8Ty); in createUnnamedGlobalForMemcpyFrom() 1217 Loc = Loc.withElementType(Ty); in emitStoresForConstant() 1256 Loc.withElementType(CGM.Int8Ty), CurOff); in emitStoresForConstant() 1267 Loc.withElementType(ATy->getElementType()), i); in emitStoresForConstant() 1906 Address Begin = Loc.withElementType(Int8Ty); in emitZeroOrPatternForAutoVarInit() 2071 emitStoresForConstant(D, Loc.withElementType(CGM.Int8Ty), in EmitAutoVarInit() 2694 DeclPtr = DeclPtr.withElementType(ConvertTypeForMem(Ty)); in EmitParmDecl()
|
| H A D | MicrosoftCXXABI.cpp | 944 Value = Value.withElementType(CGF.Int8Ty); in performBaseAdjustment() 1319 This = This.withElementType(CGM.Int8Ty); in EmitVBPtrStores() 1336 VBPtr = VBPtr.withElementType(GVPtr->getType()); in EmitVBPtrStores() 1477 This = This.withElementType(CGF.Int8Ty); in adjustThisArgumentForVirtualFunctionCall() 1508 Result = Result.withElementType(CGF.Int8Ty); in adjustThisArgumentForVirtualFunctionCall() 1522 Result = Result.withElementType(CGF.Int8Ty); in adjustThisArgumentForVirtualFunctionCall() 2227 This = This.withElementType(CGF.Int8Ty); in performThisAdjustment() 2238 VtorDispPtr = VtorDispPtr.withElementType(CGF.Int32Ty); in performThisAdjustment() 2280 Ret = Ret.withElementType(CGF.Int8Ty); in performReturnAdjustment() 2323 Address numElementsPtr = allocPtr.withElementType(CGF.SizeTy); in readArrayCookieImpl() [all …]
|
| H A D | CGCXXABI.cpp | 258 ptr = ptr.withElementType(CGF.Int8Ty); in ReadArrayCookie()
|
| H A D | CGCall.cpp | 1356 Src = Src.withElementType(Ty); in CreateCoercedLoad() 1431 Dst = Dst.withElementType(SrcTy); in CreateCoercedStore() 1440 Builder.CreateStore(Src, Dst.withElementType(SrcTy), DstIsVolatile); in CreateCoercedStore() 1448 Builder.CreateStore(Src, Dst.withElementType(DstIntTy), DstIsVolatile); in CreateCoercedStore() 1474 addr = addr.withElementType(CGF.Int8Ty); in emitAddressAtOffset() 1477 addr = addr.withElementType(info.getCoerceToType()); in emitAddressAtOffset() 3388 AddrToStoreInto = Ptr.withElementType(STy); in EmitFunctionProlog() 3441 alloca = alloca.withElementType(coercionType); in EmitFunctionProlog() 4085 Address addr = ReturnValue.withElementType(coercionType); in EmitFunctionEpilog() 5367 Addr = Addr.withElementType(ConvertTypeForMem(I->Ty)); in EmitCall() [all …]
|
| H A D | ItaniumCXXABI.cpp | 1748 ThisAddr.withElementType(CGF.VoidPtrPtrTy), "vtable"); in emitExactDynamicCast() 2371 Address V = InitialPtr.withElementType(CGF.Int8Ty); in performTypeAdjustment() 2480 Address NumElementsPtr = CookiePtr.withElementType(CGF.SizeTy); in InitializeArrayCookie() 2512 numElementsPtr = numElementsPtr.withElementType(CGF.SizeTy); in readArrayCookieImpl() 2551 cookie = cookie.withElementType(CGF.SizeTy); in InitializeArrayCookie() 2574 numElementsPtr = numElementsPtr.withElementType(CGF.SizeTy); in readArrayCookieImpl() 2743 Builder.CreateLoad(guardAddr.withElementType(CGM.Int8Ty)); in EmitGuardedInit() 2824 guardAddr.withElementType(CGM.Int8Ty)); in EmitGuardedInit() 2842 guardAddr.withElementType(CGM.Int8Ty)); in EmitGuardedInit()
|
| H A D | CGExprCXX.cpp | 518 DestPtr = DestPtr.withElementType(CGF.Int8Ty); in EmitNullBaseClassInitialization() 1108 CurPtr = CurPtr.withElementType(ElementTy); in EmitNewArrayInitializer() 1170 CurPtr = CurPtr.withElementType(BeginPtr.getElementType()); in EmitNewArrayInitializer() 1782 Address result = allocation.withElementType(elementTy); in EmitCXXNewExpr()
|
| H A D | CGAtomic.cpp | 1264 return convertTempToRValue(Dest.withElementType(ConvertTypeForMem(RValTy)), in EmitAtomicExpr() 1321 return convertTempToRValue(Dest.withElementType(ConvertTypeForMem(RValTy)), in EmitAtomicExpr() 1392 return convertTempToRValue(Dest.withElementType(ConvertTypeForMem(RValTy)), in EmitAtomicExpr() 1399 return addr.withElementType(ty); in castToAtomicIntPointer()
|
| H A D | CGBuilder.h | 211 return Addr.withElementType(ElementTy);
|
| H A D | CGExprComplex.cpp | 559 Address V = origLV.getAddress().withElementType(CGF.ConvertType(DestTy)); in EmitCast() 566 SourceLVal.getAddress().withElementType(CGF.ConvertTypeForMem(DestTy)); in EmitCast()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/ |
| H A D | Hexagon.cpp | 127 DestAddr = DestAddr.withElementType(Int8Ty); in EmitHexagonBuiltinExpr() 173 EmitPointerWithAlignment(E->getArg(2)).withElementType(VecType); in EmitHexagonBuiltinExpr() 193 EmitPointerWithAlignment(E->getArg(2)).withElementType(VecType); in EmitHexagonBuiltinExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | Address.h | 73 Address withElementType(CIRGenBuilderTy &builder, mlir::Type ElemTy) const;
|
| H A D | CIRGenBuilder.cpp | 71 Address Address::withElementType(CIRGenBuilderTy &builder, in withElementType() function in Address
|
| H A D | CIRGenClass.cpp | 436 value = value.withElementType(builder, baseValueTy); in getAddressOfBaseClass()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SystemZ.cpp | 318 Address MemAddr = OverflowArgArea.withElementType(DirectTy); in EmitVAArg() 375 Address RegAddr = RawRegAddr.withElementType(DirectTy); in EmitVAArg() 395 Address MemAddr = RawMemAddr.withElementType(DirectTy); in EmitVAArg()
|
| H A D | XCore.cpp | 167 Val = AP.withElementType(ArgTy); in EmitVAArg() 174 Val = AP.withElementType(ArgPtrTy); in EmitVAArg()
|
| H A D | AArch64.cpp | 1028 LoadAddr = LoadAddr.withElementType(BaseTy); in EmitAAPCSVAArg() 1036 RegAddr = Tmp.withElementType(MemTy); in EmitAAPCSVAArg() 1049 RegAddr = BaseAddr.withElementType(MemTy); in EmitAAPCSVAArg() 1091 OnStackAddr = OnStackAddr.withElementType(MemTy); in EmitAAPCSVAArg()
|
| H A D | PPC.cpp | 35 RealAddr = RealAddr.withElementType(EltTy); in complexTempStructure() 36 ImagAddr = ImagAddr.withElementType(EltTy); in complexTempStructure() 561 MemAddr = OverflowArea.withElementType(DirectTy); in EmitVAArg()
|
| H A D | X86.cpp | 317 ReturnSlot.setAddress(ReturnSlot.getAddress().withElementType(CoerceTy)); in addReturnRegisterOutputs() 3125 Tmp = Tmp.withElementType(ST); in EmitVAArg() 3151 RegAddr = Tmp.withElementType(LTy); in EmitVAArg() 3194 RegAddr = Tmp.withElementType(LTy); in EmitVAArg() 3228 Tmp = Tmp.withElementType(ST); in EmitVAArg() 3230 RegAddrLo.withElementType(ST->getStructElementType(0))); in EmitVAArg() 3233 RegAddrHi.withElementType(ST->getStructElementType(1))); in EmitVAArg() 3236 RegAddr = Tmp.withElementType(LTy); in EmitVAArg()
|
| H A D | Hexagon.cpp | 243 Address VAListAddrAsBPP = VAListAddr.withElementType(BP); in EmitVAArgForHexagon()
|