Home
last modified time | relevance | path

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

123

/external/clang/lib/CodeGen/
DCodeGenTypes.cpp83 llvm::Type *CodeGenTypes::ConvertTypeForMem(QualType T) { in ConvertTypeForMem() function in CodeGenTypes
500 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType()
508 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType()
522 ResultType = ConvertTypeForMem(A->getElementType()); in ConvertType()
531 ResultType = ConvertTypeForMem(A->getElementType()); in ConvertType()
541 llvm::Type *EltTy = ConvertTypeForMem(A->getElementType()); in ConvertType()
584 ConvertTypeForMem(cast<ObjCObjectPointerType>(Ty)->getPointeeType()); in ConvertType()
602 llvm::Type *PointeeType = ConvertTypeForMem(FTy); in ConvertType()
621 ResultType = ConvertTypeForMem(valueType); in ConvertType()
DCGRecordLayoutBuilder.cpp136 llvm::Type *Type = Types.ConvertTypeForMem(FD->getType()); in getStorageType()
387 llvm::Type *Type = Types.ConvertTypeForMem(Field->getType()); in accumulateBitFields()
654 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); in MakeInfo()
DCGExprConstant.cpp1231 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantInit()
1256 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantExpr()
1288 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValue()
1477 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValueForMemory()
1605 return llvm::Constant::getNullValue(getTypes().ConvertTypeForMem(T)); in EmitNullConstant()
1609 cast<llvm::ArrayType>(getTypes().ConvertTypeForMem(T)); in EmitNullConstant()
DCodeGenTypes.h197 llvm::Type *ConvertTypeForMem(QualType T);
DCGExpr.cpp105 return CreateTempAlloca(ConvertTypeForMem(Ty), Align, Name); in CreateMemTemp()
362 ConvertTypeForMem(E->getType()) in EmitMaterializeTemporaryExpr()
417 Var, ConvertTypeForMem(E->getType())->getPointerTo()), in EmitMaterializeTemporaryExpr()
1233 llvm::Type *LTy = CGF.ConvertTypeForMem(ED->getIntegerType()); in getRangeForType()
1355 return Builder.CreateZExt(Value, ConvertTypeForMem(Ty), "frombool"); in EmitToMemory()
1685 llvm::Type *ResLTy = ConvertTypeForMem(Dst.getType()); in EmitStoreThroughBitfieldLValue()
1999 llvm::Type *RealVarTy = CGF.getTypes().ConvertTypeForMem(VD->getType()); in EmitGlobalVarDeclLValue()
2170 *this, VD, T, addr, getTypes().ConvertTypeForMem(VD->getType()), in EmitDeclRefLValue()
2787 return Builder.CreateElementBitCast(Addr, ConvertTypeForMem(EltType)); in EmitArrayToPointerDecay()
3025 CGF.ConvertTypeForMem(ElTy)); in emitOMPArraySectionBase()
[all …]
DCGDecl.cpp205 llvm::Type *LTy = getTypes().ConvertTypeForMem(Ty); in getOrCreateStaticVarDecl()
1036 allocaTy = ConvertTypeForMem(Ty); in EmitAutoVarAlloca()
1085 llvm::Type *llvmTy = ConvertTypeForMem(elementType); in EmitAutoVarAlloca()
1775 llvm::Type *IRTy = ConvertTypeForMem(Ty)->getPointerTo(AS); in EmitParmDecl()
DCGObjCRuntime.cpp94 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset()
DCGExprCXX.cpp863 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
1440 llvm::Type *elementTy = ConvertTypeForMem(allocType); in EmitCXXNewExpr()
1457 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr()
1741 assert(ConvertTypeForMem(DeleteTy) == Ptr.getElementType()); in EmitCXXDeleteExpr()
DCGOpenMPRuntime.cpp1573 llvm::Type *TypeParams[] = {CGM.getTypes().ConvertTypeForMem(ParamTy)}; in createRuntimeFunction()
1583 llvm::Type *TypeParams[] = {CGM.getTypes().ConvertTypeForMem(ParamTy)}; in createRuntimeFunction()
1805 CtorCGF.ConvertTypeForMem(ASTTy)); in emitThreadPrivateVarDefinition()
2161 Addr, CGF.ConvertTypeForMem(Var->getType())); in emitAddrOfVarFromArray()
2274 CGM, CGF.ConvertTypeForMem(CopyprivateArrayTy)->getPointerTo(), in emitSingleRegion()
2802 CGM.getTypes().ConvertTypeForMem(getTgtOffloadEntryQTy()); in createOffloadingBinaryDescriptorRegistration()
2815 CGM.getTypes().ConvertTypeForMem(getTgtDeviceImageQTy())); in createOffloadingBinaryDescriptorRegistration()
2851 CGM.getTypes().ConvertTypeForMem(getTgtBinaryDescriptorQTy())); in createOffloadingBinaryDescriptorRegistration()
2892 CGM.getTypes().ConvertTypeForMem(getTgtOffloadEntryQTy())); in createOffloadEntry()
3312 CGF.ConvertTypeForMem(SharedsPtrTy)); in emitProxyTaskFunction()
[all …]
DCGAtomic.cpp1016 Builder.CreateBitCast(Dest, ConvertTypeForMem(RValTy)->getPointerTo()), in EmitAtomicExpr()
1065 Builder.CreateBitCast(Dest, ConvertTypeForMem(RValTy)->getPointerTo()), in EmitAtomicExpr()
1137 Builder.CreateBitCast(Dest, ConvertTypeForMem(RValTy)->getPointerTo()), in EmitAtomicExpr()
1207 ? CGF.ConvertTypeForMem(ValueTy) in ConvertIntToValueOrAtomic()
DTargetInfo.cpp341 llvm::Type *DirectTy = CGF.ConvertTypeForMem(ValueTy); in emitVoidPtrVAArg()
563 llvm::PointerType::getUnqual(CGF.ConvertTypeForMem(Ty)); in EmitVAArgInstr()
1636 FrameFields.push_back(CGT.ConvertTypeForMem(Type)); in addFieldToArgStruct()
3338 llvm::Type *LTy = CGF.ConvertTypeForMem(Ty); in EmitX86_64VAArgFromMemory()
3432 llvm::Type *LTy = CGF.ConvertTypeForMem(Ty); in EmitVAArg()
4367 llvm::Type *EltTy = CGF.ConvertTypeForMem(CTy->getElementType()); in EmitVAArg()
4814 llvm::Type *MemTy = CGF.ConvertTypeForMem(Ty); in EmitAAPCSVAArg()
4955 Addr = CGF.Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(Ty)); in EmitDarwinVAArg()
5594 Addr = CGF.Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(Ty)); in EmitVAArg()
5934 llvm::Type *ArgTy = CGF.ConvertTypeForMem(Ty); in EmitVAArg()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenTypes.cpp90 llvm::Type *CodeGenTypes::ConvertTypeForMem(QualType T, bool ForBitField) { in ConvertTypeForMem() function in CodeGenTypes
625 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType()
633 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType()
651 ResultType = ConvertTypeForMem(A->getElementType()); in ConvertType()
660 ResultType = ConvertTypeForMem(A->getElementType()); in ConvertType()
670 llvm::Type *EltTy = ConvertTypeForMem(A->getElementType()); in ConvertType()
720 ConvertTypeForMem(cast<ObjCObjectPointerType>(Ty)->getPointeeType()); in ConvertType()
740 : ConvertTypeForMem(FTy); in ConvertType()
759 ResultType = ConvertTypeForMem(valueType); in ConvertType()
DCGRecordLayoutBuilder.cpp143 llvm::Type *Type = Types.ConvertTypeForMem(FD->getType()); in getStorageType()
409 Types.ConvertTypeForMem(Field->getType(), /*ForBitFields=*/true); in accumulateBitFields()
546 llvm::Type *ResLTy = Types.ConvertTypeForMem(Field->getType()); in computeVolatileBitfields()
620 Types.ConvertTypeForMem(F->getType())->getPrimitiveSizeInBits()) - in computeVolatileBitfields()
841 llvm::Type *Ty = Types.ConvertTypeForMem(FD->getType()); in MakeInfo()
DCGOpenMPRuntimeGPU.cpp1737 CGF.ConvertTypeForMem(GlobalRecTy)->getPointerTo(); in emitGenericVarsProlog()
1874 GlobalRecValue, CGF.ConvertTypeForMem(GlobalRecTy)->getPointerTo()); in emitGenericVarsProlog()
1904 CGF.ConvertTypeForMem(SecGlobalRecTy)->getPointerTo(); in emitGenericVarsProlog()
1990 GlobalRecValue, CGF.ConvertTypeForMem(VD->getType())->getPointerTo()); in emitGenericVarsProlog()
2441 llvm::Type *LLVMCastTy = CGF.ConvertTypeForMem(CastTy); in castValueToType()
2522 llvm::Type *IntTy = CGF.ConvertTypeForMem(IntType); in shuffleAndStore()
2712 SrcElementAddr, CGF.ConvertTypeForMem(Private->getType()));
2879 CGF.ConvertTypeForMem(ReductionArrayTy)->getPointerTo()), in emitInterWarpCopyFunction()
2898 llvm::Type *CopyType = CGF.ConvertTypeForMem(CType); in emitInterWarpCopyFunction()
3153 CGF.ConvertTypeForMem(ReductionArrayTy)->getPointerTo()), in emitShuffleAndReduceFunction()
[all …]
DCodeGenABITypes.cpp110 return CGM.getTypes().ConvertTypeForMem(T); in convertTypeForMemory()
DCGExprConstant.cpp634 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); in EmitDesignatedInitUpdater()
721 CGM.getTypes().ConvertTypeForMem(Field->getType())); in Build()
1707 llvm::Type *boolTy = CGM.getTypes().ConvertTypeForMem(destType); in emitForMemory()
1827 auto destTy = CGM.getTypes().ConvertTypeForMem(DestType); in tryEmit()
1955 return C.getElementBitCast(CGM.getTypes().ConvertTypeForMem(T)); in emitConstantObjCStringLiteral()
2308 cast<llvm::PointerType>(getTypes().ConvertTypeForMem(T)), T); in EmitNullConstant()
2311 return llvm::Constant::getNullValue(getTypes().ConvertTypeForMem(T)); in EmitNullConstant()
2315 cast<llvm::ArrayType>(getTypes().ConvertTypeForMem(T)); in EmitNullConstant()
DCodeGenTypes.h137 llvm::Type *ConvertTypeForMem(QualType T, bool ForBitField = false);
DCGExpr.cpp153 Address Result = CreateTempAlloca(ConvertTypeForMem(Ty), Align, Name, in CreateMemTemp()
170 return CreateTempAllocaWithoutCast(ConvertTypeForMem(Ty), Align, Name); in CreateMemTempWithoutCast()
457 ConvertTypeForMem(E->getType()) in EmitMaterializeTemporaryExpr()
516 ConvertTypeForMem(E->getType())->getPointerTo()), in EmitMaterializeTemporaryExpr()
1632 llvm::Type *LTy = CGF.ConvertTypeForMem(ED->getIntegerType()); in getRangeForType()
1770 return Builder.CreateZExt(Value, ConvertTypeForMem(Ty), "frombool"); in EmitToMemory()
2172 llvm::Type *ResLTy = ConvertTypeForMem(Dst.getType()); in EmitStoreThroughBitfieldLValue()
2534 llvm::Type *RealVarTy = CGF.getTypes().ConvertTypeForMem(VD->getType()); in EmitGlobalVarDeclLValue()
2703 llvm::Type *VarTy = getTypes().ConvertTypeForMem(VD->getType()); in EmitDeclRefLValue()
2806 *this, VD, T, addr, getTypes().ConvertTypeForMem(VD->getType()), in EmitDeclRefLValue()
[all …]
DCGOpenMPRuntime.cpp880 PrivateAddr, CGF.ConvertTypeForMem(PrivateType)); in emitInitialization()
884 CGF.ConvertTypeForMem(SharedType)), in emitInitialization()
920 PrivateAddr, CGF.ConvertTypeForMem(PrivateType)); in emitCleanups()
940 CGF.ConvertTypeForMem(ElTy)), in loadToBegin()
1684 Ptr = getOrCreateInternalVariable(CGM.getTypes().ConvertTypeForMem(PtrTy), in getAddrOfDeclareTargetVar()
1786 Arg, CtorCGF.ConvertTypeForMem(ASTTy)); in emitThreadPrivateVarDefinition()
1989 llvm::Type *VarLVType = CGF.ConvertTypeForMem(VarType); in getAddrOfArtificialThreadPrivate()
2308 Addr, CGF.ConvertTypeForMem(Var->getType())); in emitAddrOfVarFromArray()
2433 CGM, CGF.ConvertTypeForMem(CopyprivateArrayTy)->getPointerTo(), in emitSingleRegion()
3566 CGF.ConvertTypeForMem(SharedsPtrTy)); in emitProxyTaskFunction()
[all …]
DCGObjCRuntime.cpp65 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset()
DCGExprCXX.cpp1074 ElementTy = ConvertTypeForMem(AllocType); in EmitNewArrayInitializer()
1712 llvm::Type *elementTy = ConvertTypeForMem(allocType); in EmitCXXNewExpr()
1742 llvm::Type *resultType = ConvertTypeForMem(E->getType()); in EmitCXXNewExpr()
2105 assert(ConvertTypeForMem(DeleteTy) == Ptr.getElementType()); in EmitCXXDeleteExpr()
DCGCall.cpp1646 llvm::Type *LTy = ConvertTypeForMem(it->type); in GetFunctionType()
1653 llvm::Type *LTy = ConvertTypeForMem(it->type); in GetFunctionType()
2142 SRETAttrs.addStructRetAttr(getTypes().ConvertTypeForMem(RetTy)); in ConstructAttributeList()
2229 Attrs.addByValAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2268 Attrs.addByRefAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
2307 Attrs.addStructRetAttr(getTypes().ConvertTypeForMem(ParamType)); in ConstructAttributeList()
3458 llvm::Type *IRTy = CGF.ConvertTypeForMem(Ty); in createPlaceholderSlot()
4393 CGM.getDataLayout().getTypeAllocSize(ConvertTypeForMem(RetTy)); in EmitCall()
4474 llvm::Type *MemType = ConvertTypeForMem(I->Ty)->getPointerTo(AS); in EmitCall()
DCGDecl.cpp253 llvm::Type *LTy = getTypes().ConvertTypeForMem(Ty); in getOrCreateStaticVarDecl()
1514 allocaTy = ConvertTypeForMem(Ty); in EmitAutoVarAlloca()
1579 llvm::Type *llvmTy = ConvertTypeForMem(VlaSize.Type); in EmitAutoVarAlloca()
2449 llvm::Type *IRTy = ConvertTypeForMem(Ty)->getPointerTo(AS); in EmitParmDecl()
DCGAtomic.cpp1276 Builder.CreateBitCast(Dest, ConvertTypeForMem(RValTy)->getPointerTo()), in EmitAtomicExpr()
1327 Builder.CreateBitCast(Dest, ConvertTypeForMem(RValTy)->getPointerTo( in EmitAtomicExpr()
1400 Builder.CreateBitCast(Dest, ConvertTypeForMem(RValTy)->getPointerTo( in EmitAtomicExpr()
1471 ? CGF.ConvertTypeForMem(ValueTy) in ConvertIntToValueOrAtomic()
DTargetInfo.cpp376 llvm::Type *DirectTy = CGF.ConvertTypeForMem(ValueTy); in emitVoidPtrVAArg()
662 llvm::PointerType::getUnqual(CGF.ConvertTypeForMem(Ty)); in EmitVAArgInstr()
1974 llvm::Type *LLTy = CGT.ConvertTypeForMem(Type); in addFieldToArgStruct()
3941 llvm::Type *LTy = CGF.ConvertTypeForMem(Ty); in EmitX86_64VAArgFromMemory()
4031 llvm::Type *LTy = CGF.ConvertTypeForMem(Ty); in EmitVAArg()
5363 llvm::Type *EltTy = CGF.ConvertTypeForMem(CTy->getElementType()); in EmitVAArg()
5962 llvm::Type *MemTy = CGF.ConvertTypeForMem(Ty); in EmitAAPCSVAArg()
6102 Addr = CGF.Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(Ty)); in EmitDarwinVAArg()
6838 Addr = CGF.Builder.CreateElementBitCast(Addr, CGF.ConvertTypeForMem(Ty)); in EmitVAArg()
7333 llvm::Type *ArgTy = CGF.ConvertTypeForMem(Ty); in EmitVAArg()
[all …]

123