| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 426 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() 558 this->CGF->MakeAddrLValue(SrcAddr.withElementType(Ty), FT); in visitVolatileTrivial() 562 Address DstAddr = Addrs[DstIdx].withElementType(Ty); in visitVolatileTrivial() 563 Address SrcAddr = Addrs[SrcIdx].withElementType(Ty); in visitVolatileTrivial() [all …]
|
| H A D | Address.h | 100 RawAddress withElementType(llvm::Type *ElemTy) const { in withElementType() function 274 Address withElementType(llvm::Type *ElemTy) const { in withElementType() function 310 ConstantAddress withElementType(llvm::Type *ElemTy) const { in withElementType() function
|
| H A D | CGClass.cpp | 242 V = V.withElementType(Int8Ty); in GetAddressOfDirectBaseInCompleteClass() 245 return V.withElementType(ConvertType(Base)); in GetAddressOfDirectBaseInCompleteClass() 346 return Value.withElementType(BaseValueTy); in GetAddressOfBaseClass() 384 Value = Value.withElementType(BaseValueTy); in GetAddressOfBaseClass() 418 return BaseAddr.withElementType(DerivedValueTy); in GetAddressOfDerivedClass() 436 Address Addr = BaseAddr.withElementType(Int8Ty); in GetAddressOfDerivedClass() 442 Addr = Addr.withElementType(DerivedValueTy); in GetAddressOfDerivedClass() 1003 DestPtr = DestPtr.withElementType(CGF.Int8Ty); in emitMemcpyIR() 1004 SrcPtr = SrcPtr.withElementType(CGF.Int8Ty); in emitMemcpyIR() 2590 VTableField = VTableField.withElementType(PtrTy); in InitializeVTablePointer() [all …]
|
| H A D | CGExpr.cpp | 468 Object = Object.withElementType(Ty); in EmitMaterializeTemporaryExpr() 524 Object = Object.withElementType(TemporaryType); in EmitMaterializeTemporaryExpr() 1313 Addr = Addr.withElementType(ElemTy); in EmitPointerWithAlignment() 1976 Address Cast = Addr.withElementType(vec4Ty); in EmitLoadOfScalar() 1994 Addr.withElementType(convertTypeForLoadStore(Ty, Addr.getElementType())); in EmitLoadOfScalar() 2075 return Addr.withElementType(VectorTy); in MaybeConvertMatrixAddress() 2083 return Addr.withElementType(ArrayTy); in MaybeConvertMatrixAddress() 2124 Addr = Addr.withElementType(SrcTy); in EmitStoreOfScalar() 2329 Address CastToPointerElement = VectorAddress.withElementType(VectorElementTy); in EmitExtVectorElementLValue() 2773 Addr = Addr.withElementType(RealVarTy); in EmitThreadPrivateVarDeclLValue() [all …]
|
| H A D | ABIInfoImpl.cpp | 176 VAListAddr = VAListAddr.withElementType(CGF.Int8PtrTy); in emitVoidPtrDirectVAArg() 202 return Addr.withElementType(DirectTy); in emitVoidPtrDirectVAArg()
|
| H A D | CGDecl.cpp | 744 srcAddr = srcAddr.withElementType(destLV.getAddress().getElementType()); in tryEmitARCCopyWeakInit() 1188 return SrcPtr.withElementType(CGM.Int8Ty); in createUnnamedGlobalForMemcpyFrom() 1222 Loc = Loc.withElementType(Ty); in emitStoresForConstant() 1261 Loc.withElementType(CGM.Int8Ty), CurOff); in emitStoresForConstant() 1272 Loc.withElementType(ATy->getElementType()), i); in emitStoresForConstant() 1857 Address Begin = Loc.withElementType(Int8Ty); in emitZeroOrPatternForAutoVarInit() 2014 emitStoresForConstant(CGM, D, Loc.withElementType(CGM.Int8Ty), in EmitAutoVarInit() 2613 DeclPtr = DeclPtr.withElementType(ConvertTypeForMem(Ty)); in EmitParmDecl()
|
| H A D | CGExprAgg.cpp | 765 Address CastPtr = Dest.getAddress().withElementType(CGF.ConvertType(Ty)); in VisitCastExpr() 779 Address SourceAddress = SourceLV.getAddress().withElementType(CGF.Int8Ty); in VisitCastExpr() 780 Address DestAddress = Dest.getAddress().withElementType(CGF.Int8Ty); in VisitCastExpr() 2001 Address Loc = Slot.getAddress().withElementType(CGF.Int8Ty); in CheckAggExprForMemSetUse() 2180 DestPtr = DestPtr.withElementType(Int8Ty); in EmitAggregateCopy() 2181 SrcPtr = SrcPtr.withElementType(Int8Ty); in EmitAggregateCopy()
|
| H A D | MicrosoftCXXABI.cpp | 949 Value = Value.withElementType(CGF.Int8Ty); in performBaseAdjustment() 1322 This = This.withElementType(CGM.Int8Ty); in EmitVBPtrStores() 1339 VBPtr = VBPtr.withElementType(GVPtr->getType()); in EmitVBPtrStores() 1480 This = This.withElementType(CGF.Int8Ty); in adjustThisArgumentForVirtualFunctionCall() 1511 Result = Result.withElementType(CGF.Int8Ty); in adjustThisArgumentForVirtualFunctionCall() 1525 Result = Result.withElementType(CGF.Int8Ty); in adjustThisArgumentForVirtualFunctionCall() 2235 This = This.withElementType(CGF.Int8Ty); in performThisAdjustment() 2246 VtorDispPtr = VtorDispPtr.withElementType(CGF.Int32Ty); in performThisAdjustment() 2288 Ret = Ret.withElementType(CGF.Int8Ty); in performReturnAdjustment() 2331 Address numElementsPtr = allocPtr.withElementType(CGF.SizeTy); in readArrayCookieImpl() [all …]
|
| H A D | CGCall.cpp | 1297 Src = Src.withElementType(Ty); in CreateCoercedLoad() 1368 Dst = Dst.withElementType(SrcTy); in CreateCoercedStore() 1375 Builder.CreateStore(Src, Dst.withElementType(SrcTy), DstIsVolatile); in CreateCoercedStore() 1381 Builder.CreateStore(Src, Dst.withElementType(DstIntTy), DstIsVolatile); in CreateCoercedStore() 1405 addr = addr.withElementType(CGF.Int8Ty); in emitAddressAtOffset() 1408 addr = addr.withElementType(info.getCoerceToType()); in emitAddressAtOffset() 3263 AddrToStoreInto = Ptr.withElementType(STy); in EmitFunctionProlog() 3313 alloca = alloca.withElementType(coercionType); in EmitFunctionProlog() 3920 Address addr = ReturnValue.withElementType(coercionType); in EmitFunctionEpilog() 5175 Addr = Addr.withElementType(ConvertTypeForMem(I->Ty)); in EmitCall() [all …]
|
| H A D | CGCXXABI.cpp | 260 ptr = ptr.withElementType(CGF.Int8Ty); in ReadArrayCookie()
|
| H A D | ItaniumCXXABI.cpp | 1734 ThisAddr.withElementType(CGF.VoidPtrPtrTy), "vtable"); in emitExactDynamicCast() 2343 Address V = InitialPtr.withElementType(CGF.Int8Ty); in performTypeAdjustment() 2452 Address NumElementsPtr = CookiePtr.withElementType(CGF.SizeTy); in InitializeArrayCookie() 2484 numElementsPtr = numElementsPtr.withElementType(CGF.SizeTy); in readArrayCookieImpl() 2523 cookie = cookie.withElementType(CGF.SizeTy); in InitializeArrayCookie() 2546 numElementsPtr = numElementsPtr.withElementType(CGF.SizeTy); in readArrayCookieImpl() 2715 Builder.CreateLoad(guardAddr.withElementType(CGM.Int8Ty)); in EmitGuardedInit() 2796 guardAddr.withElementType(CGM.Int8Ty)); in EmitGuardedInit() 2814 guardAddr.withElementType(CGM.Int8Ty)); in EmitGuardedInit()
|
| H A D | CGExprCXX.cpp | 513 DestPtr = DestPtr.withElementType(CGF.Int8Ty); in EmitNullBaseClassInitialization() 1103 CurPtr = CurPtr.withElementType(ElementTy); in EmitNewArrayInitializer() 1165 CurPtr = CurPtr.withElementType(BeginPtr.getElementType()); in EmitNewArrayInitializer() 1743 Address result = allocation.withElementType(elementTy); in EmitCXXNewExpr()
|
| H A D | CGAtomic.cpp | 1221 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() 1355 return addr.withElementType(ty); in castToAtomicIntPointer()
|
| H A D | CGBuilder.h | 206 return Addr.withElementType(ElementTy);
|
| H A D | CGBlocks.cpp | 2146 destField = destField.withElementType(CGF.Int8Ty); in emitCopy() 2148 srcField = srcField.withElementType(CGF.Int8PtrTy); in emitCopy() 2161 field = field.withElementType(CGF.Int8PtrTy); in emitDispose()
|
| H A D | CGExprComplex.cpp | 562 Address V = origLV.getAddress().withElementType(CGF.ConvertType(DestTy)); in EmitCast() 569 SourceLVal.getAddress().withElementType(CGF.ConvertTypeForMem(DestTy)); in EmitCast()
|
| H A D | CGStmt.cpp | 2391 return {Builder.CreateLoad(InputValue.getAddress().withElementType(Ty)), in EmitAsmInputLValue() 2592 Address A = Dest.getAddress().withElementType(ResultRegTypes[i]); in EmitAsmStores() 2801 DestAddr = DestAddr.withElementType(ConvertType(OutExpr->getType())); in EmitAsmStmt()
|
| H A D | CodeGenFunction.cpp | 2083 Address begin = dest.withElementType(CGF.Int8Ty); in emitNonZeroVLAInit() 2129 DestPtr = DestPtr.withElementType(Int8Ty); in EmitNullInitialization() 2287 addr = addr.withElementType(baseType); in emitArrayLength()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SystemZ.cpp | 305 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 D | Sparc.cpp | 322 ArgAddr = Addr.withElementType(ArgPtrTy); in EmitVAArg() 336 CGF.MakeAddrLValue(ArgAddr.withElementType(ArgTy), Ty), Slot); in EmitVAArg()
|
| H A D | AArch64.cpp | 695 LoadAddr = LoadAddr.withElementType(BaseTy); in EmitAAPCSVAArg() 703 RegAddr = Tmp.withElementType(MemTy); in EmitAAPCSVAArg() 716 RegAddr = BaseAddr.withElementType(MemTy); in EmitAAPCSVAArg() 758 OnStackAddr = OnStackAddr.withElementType(MemTy); in EmitAAPCSVAArg()
|
| H A D | XCore.cpp | 167 Val = AP.withElementType(ArgTy); in EmitVAArg() 174 Val = AP.withElementType(ArgPtrTy); in EmitVAArg()
|
| H A D | PPC.cpp | 35 RealAddr = RealAddr.withElementType(EltTy); in complexTempStructure() 36 ImagAddr = ImagAddr.withElementType(EltTy); in complexTempStructure() 557 MemAddr = OverflowArea.withElementType(DirectTy); in EmitVAArg()
|
| H A D | X86.cpp | 330 ReturnSlot.setAddress(ReturnSlot.getAddress().withElementType(CoerceTy)); in addReturnRegisterOutputs() 3109 Tmp = Tmp.withElementType(ST); in EmitVAArg() 3135 RegAddr = Tmp.withElementType(LTy); in EmitVAArg() 3175 Tmp = Tmp.withElementType(ST); in EmitVAArg() 3177 RegAddrLo.withElementType(ST->getStructElementType(0))); in EmitVAArg() 3180 RegAddrHi.withElementType(ST->getStructElementType(1))); in EmitVAArg() 3183 RegAddr = Tmp.withElementType(LTy); in EmitVAArg()
|
| H A D | Hexagon.cpp | 237 Address VAListAddrAsBPP = VAListAddr.withElementType(BP); in EmitVAArgForHexagon()
|