Home
last modified time | relevance | path

Searched refs:getAsAlign (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h115 Addr.getAlignment().getAsAlign(), Name);
122 Addr.getAlignment().getAsAlign(), Name); in CreateLoad()
128 Addr.getAlignment().getAsAlign(), IsVolatile, Name);
135 return CreateAlignedLoad(Ty, Addr, Align.getAsAlign(), Name);
143 Addr.getAlignment().getAsAlign(), IsVolatile);
150 return CreateAlignedStore(Val, Addr, Align.getAsAlign(), IsVolatile);
179 Addr.getAlignment().getAsAlign(), SuccessOrdering, FailureOrdering,
189 Addr.getAlignment().getAsAlign(), Ordering, SSID);
373 return CreateMemCpy(DestPtr, Dest.getAlignment().getAsAlign(), SrcPtr,
374 Src.getAlignment().getAsAlign(), Size, IsVolatile);
[all …]
H A DCGCleanup.cpp306 store->setAlignment(addr.getAlignment().getAsAlign()); in createStoreInstBefore()
314 name, false, addr.getAlignment().getAsAlign(), in createLoadInstBefore()
321 name, false, addr.getAlignment().getAsAlign()); in createLoadInstBefore()
H A DCGCall.cpp1394 Tmp.getPointer(), Tmp.getAlignment().getAsAlign(), in CreateCoercedLoad()
1395 Src.emitRawPointer(CGF), Src.getAlignment().getAsAlign(), in CreateCoercedLoad()
1464 Dst.emitRawPointer(*this), Dst.getAlignment().getAsAlign(), in CreateCoercedStore()
1465 Tmp.getPointer(), Tmp.getAlignment().getAsAlign(), in CreateCoercedStore()
2738 getNaturalPointeeTypeAlignment(RetTy).getAsAlign(); in ConstructAttributeList()
2800 .getAsAlign(); in ConstructAttributeList()
2918 getNaturalPointeeTypeAlignment(ParamType).getAsAlign(); in ConstructAttributeList()
2934 getNaturalPointeeTypeAlignment(ParamType).getAsAlign(); in ConstructAttributeList()
2963 Attrs.addAlignmentAttr(info.Align.getAsAlign()); in ConstructAttributeList()
3166 AlignedTemp.getPointer(), AlignedTemp.getAlignment().getAsAlign(), in EmitFunctionProlog()
[all …]
H A DConstantInitBuilder.cpp82 GV->setAlignment(alignment.getAsAlign()); in createGlobal()
H A DCGCUDANV.cpp912 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
951 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
1324 Var->setAlignment(CGM.getPointerAlign().getAsAlign()); in getKernelHandle()
H A DCGDecl.cpp288 GV->setAlignment(getContext().getDeclAlign(&D).getAsAlign()); in getOrCreateStaticVarDecl()
438 var->setAlignment(alignment.getAsAlign()); in EmitStaticVarDecl()
1164 GV->setAlignment(Align.getAsAlign()); in createUnnamedGlobalFrom()
1168 CacheEntry->setAlignment(Align.getAsAlign()); in createUnnamedGlobalFrom()
H A DCGObjCMac.cpp3492 GV->setAlignment(CGM.getPointerAlign().getAsAlign()); in GenerateClass()
4027 GV->setAlignment(Align.getAsAlign()); in CreateMetadataVar()
4083 GV->setAlignment(CharUnits::One().getAsAlign()); in CreateCStringLiteral()
6521 PTGV->setAlignment(Align.getAsAlign()); in GenerateProtocolRef()
7355 Entry->setAlignment(CGF.getPointerAlign().getAsAlign()); in EmitClassRefFromId()
7393 Entry->setAlignment(CGF.getPointerAlign().getAsAlign()); in EmitSuperClassRef()
7415 Entry->setAlignment(Align.getAsAlign()); in EmitMetaClassRef()
7501 Entry->setAlignment(Align.getAsAlign()); in EmitSelectorAddr()
7733 Entry->setAlignment(CGM.getPointerAlign().getAsAlign()); in GetInterfaceEHType()
H A DCGObjCGNU.cpp1323 GV->setAlignment(CGM.getPointerAlign().getAsAlign()); in GenerateEmptyProtocol()
1347 GV->setAlignment(CGM.getPointerAlign().getAsAlign()); in GenerateProtocolRef()
1525 Sym->setAlignment(CGM.getPointerAlign().getAsAlign()); in GetSectionBounds()
1674 CGM.getPointerAlign().getAsAlign()); in ModuleInitFunction()
4421 GV->setAlignment(Align.getAsAlign()); in EmitIvarOffset()
H A DItaniumCXXABI.cpp2186 getContext().toCharUnitsFromBits(PAlign).getAsAlign()); in getAddrOfVTable()
2698 guard->setAlignment(guardAlignment.getAsAlign()); in EmitGuardedInit()
3162 Guard->setAlignment(GuardAlign.getAsAlign()); in EmitThreadLocalInitFuncs()
3557 Name, Init->getType(), Linkage, Align.getAsAlign()); in GetAddrOfTypeName()
4281 GV->setAlignment(Align.getAsAlign()); in BuildTypeInfo()
H A DCodeGenModule.cpp3896 GV->setAlignment(Alignment.getAsAlign()); in GetAddrOfUnnamedGlobalConstantDecl()
5275 GV->setAlignment(getContext().getDeclAlign(D).getAsAlign()); in GetOrCreateLLVMGlobal()
5914 GV->setAlignment(AlignVal.getAsAlign()); in EmitGlobalVarDefinition()
6652 GV->setAlignment(Align.getAsAlign()); in GetAddrOfConstantCFString()
6801 GV->setAlignment(Alignment.getAsAlign()); in GenerateStringLiteral()
6826 GV->setAlignment(Alignment.getAsAlign()); in GetAddrOfConstantStringFromLiteral()
6893 GV->setAlignment(Alignment.getAsAlign()); in GetAddrOfConstantCString()
7018 GV->setAlignment(Align.getAsAlign()); in GetAddrOfGlobalTemporary()
H A DCGExprCXX.cpp569 NullVariable->setAlignment(Align.getAsAlign()); in EmitNullBaseClassInitialization()
1851 TagAllocation->setAlignment(Align.getAsAlign()); in EmitDeleteCall()
H A DCGDeclCXX.cpp796 Guard->setAlignment(GuardAlign.getAsAlign()); in EmitCXXModuleInitFunc()
H A DMicrosoftCXXABI.cpp2158 Name, VBTableType, Linkage, Alignment.getAsAlign()); in getAddrOfVBTable()
2537 GV->setAlignment(Align.getAsAlign()); in getInitThreadEpochPtr()
2680 GuardVar->setAlignment(GuardAlign.getAsAlign()); in EmitGuardedInit()
H A DCGOpenMPRuntimeGPU.cpp2078 GV->setAlignment(Align.getAsAlign()); in getAddressOfLocalVariable()
H A DCGAtomic.cpp372 LVal.getAlignment().getAsAlign()); in emitMemSetZeroIfNecessary()
H A DCGExprAgg.cpp640 GV->setAlignment(Align.getAsAlign()); in EmitArrayInit()
H A DCGExprConstant.cpp1049 GV->setAlignment(Align.getAsAlign()); in tryEmitGlobalCompoundLiteral()
H A DCGBlocks.cpp1391 CGM.getPointerAlign().getAsAlign()); in buildGlobalBlock()
H A DCodeGenFunction.cpp2277 NullVariable->setAlignment(NullAlign.getAsAlign()); in EmitNullInitialization()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h189 llvm::Align getAsAlign() const { return llvm::Align(Quantity); } in getAsAlign() function
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenDecl.cpp298 gv.setAlignment(getASTContext().getDeclAlign(&d).getAsAlign().value()); in getOrCreateStaticVarDecl()
441 var.setAlignment(alignment.getAsAlign().value()); in emitStaticVarDecl()
H A DCIRGenFunction.h1134 (uint64_t)addr.getAlignment().getAsAlign().value())); in setBeforeOutermostConditional()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DNVPTX.cpp348 auto *LD = CGF.Builder.CreateAlignedLoad(ElemTy, ASC, AlignV.getAsAlign()); in MakeLdg()
H A DX86.cpp1104 getContext().getTypeAlignInChars(E->getArg(1)->getType()).getAsAlign()); in EmitX86BuiltinExpr()
1146 getContext().getTypeAlignInChars(E->getArg(1)->getType()).getAsAlign()); in EmitX86BuiltinExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltin.cpp1039 if (APSInt(APInt(64, IntVal, false), true).isAligned(Size.getAsAlign())) in interp__builtin_atomic_lock_free()

12