Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuilder.h73 Addr.getAlignment().getAsAlign(), Name);
79 Addr.getAlignment().getAsAlign(), Name); in CreateLoad()
84 Addr.getAlignment().getAsAlign(), IsVolatile,
94 return CreateAlignedLoad(Ty, Addr, Align.getAsAlign(), Name);
102 Addr.getAlignment().getAsAlign(), IsVolatile);
109 return CreateAlignedStore(Val, Addr, Align.getAsAlign(), IsVolatile);
314 return CreateMemCpy(Dest.getPointer(), Dest.getAlignment().getAsAlign(),
329 Src.getAlignment().getAsAlign(), getInt64(Size)); in CreateMemCpyInline()
336 Src.getPointer(), Src.getAlignment().getAsAlign(),
344 Dest.getAlignment().getAsAlign(), IsVolatile);
[all …]
H A DCGCall.cpp1321 Src.getAlignment().getAsAlign(), in CreateCoercedLoad()
1409 Tmp.getAlignment().getAsAlign(), in CreateCoercedStore()
2358 getNaturalPointeeTypeAlignment(RetTy).getAsAlign(); in ConstructAttributeList()
2419 .getAsAlign(); in ConstructAttributeList()
2537 getNaturalPointeeTypeAlignment(ParamType).getAsAlign(); in ConstructAttributeList()
2551 getNaturalPointeeTypeAlignment(ParamType).getAsAlign(); in ConstructAttributeList()
2576 Attrs.addAlignmentAttr(info.Align.getAsAlign()); in ConstructAttributeList()
2828 CGM.getNaturalTypeAlignment(ETy).getAsAlign(); in EmitFunctionProlog()
2852 CGM.getNaturalTypeAlignment(ETy).getAsAlign(); in EmitFunctionProlog()
4765 AI->setAlignment(Align.getAsAlign()); in EmitCall()
[all …]
H A DConstantInitBuilder.cpp82 GV->setAlignment(alignment.getAsAlign()); in createGlobal()
H A DCGCUDANV.cpp828 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
869 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
1199 Var->setAlignment(CGM.getPointerAlign().getAsAlign()); in getKernelHandle()
H A DCGCleanup.cpp322 store->setAlignment(addr.getAlignment().getAsAlign()); in createStoreInstBefore()
328 false, addr.getAlignment().getAsAlign(), in createLoadInstBefore()
H A DCGDecl.cpp275 GV->setAlignment(getContext().getDeclAlign(&D).getAsAlign()); in getOrCreateStaticVarDecl()
444 var->setAlignment(alignment.getAsAlign()); in EmitStaticVarDecl()
1153 GV->setAlignment(Align.getAsAlign()); in createUnnamedGlobalFrom()
1157 CacheEntry->setAlignment(Align.getAsAlign()); in createUnnamedGlobalFrom()
H A DCGObjCMac.cpp3594 GV->setAlignment(CGM.getPointerAlign().getAsAlign()); in GenerateClass()
4138 GV->setAlignment(Align.getAsAlign()); in CreateMetadataVar()
4187 GV->setAlignment(CharUnits::One().getAsAlign()); in CreateCStringLiteral()
6643 PTGV->setAlignment(Align.getAsAlign()); in GenerateProtocolRef()
7487 Entry->setAlignment(CGF.getPointerAlign().getAsAlign()); in EmitClassRefFromId()
7525 Entry->setAlignment(CGF.getPointerAlign().getAsAlign()); in EmitSuperClassRef()
7548 Entry->setAlignment(Align.getAsAlign()); in EmitMetaClassRef()
7644 Entry->setAlignment(Align.getAsAlign()); in EmitSelectorAddr()
7882 Entry->setAlignment(CGM.getPointerAlign().getAsAlign()); in GetInterfaceEHType()
H A DCGObjCGNU.cpp1310 GV->setAlignment(CGM.getPointerAlign().getAsAlign()); in GenerateEmptyProtocol()
1334 GV->setAlignment(CGM.getPointerAlign().getAsAlign()); in GenerateProtocolRef()
1516 Sym->setAlignment(CGM.getPointerAlign().getAsAlign()); in GetSectionBounds()
1665 CGM.getPointerAlign().getAsAlign()); in ModuleInitFunction()
4191 GV->setAlignment(Align.getAsAlign()); in EmitIvarOffset()
H A DCodeGenModule.cpp3073 GV->setAlignment(Alignment.getAsAlign()); in GetAddrOfUnnamedGlobalConstantDecl()
4286 GV->setAlignment(getContext().getDeclAlign(D).getAsAlign()); in GetOrCreateLLVMGlobal()
4845 GV->setAlignment(AlignVal.getAsAlign()); in EmitGlobalVarDefinition()
5569 GV->setAlignment(Align.getAsAlign()); in GetAddrOfConstantCFString()
5725 GV->setAlignment(Alignment.getAsAlign()); in GenerateStringLiteral()
5749 GV->setAlignment(Alignment.getAsAlign()); in GetAddrOfConstantStringFromLiteral()
5816 GV->setAlignment(Alignment.getAsAlign()); in GetAddrOfConstantCString()
5938 GV->setAlignment(Align.getAsAlign()); in GetAddrOfGlobalTemporary()
H A DCGExprCXX.cpp553 NullVariable->setAlignment(Align.getAsAlign()); in EmitNullBaseClassInitialization()
1799 DestroyingDeleteTag->setAlignment(Align.getAsAlign()); in EmitDeleteCall()
H A DCGDeclCXX.cpp718 Guard->setAlignment(GuardAlign.getAsAlign()); in EmitCXXModuleInitFunc()
H A DItaniumCXXABI.cpp2405 guard->setAlignment(guardAlignment.getAsAlign()); in EmitGuardedInit()
2834 Guard->setAlignment(GuardAlign.getAsAlign()); in EmitThreadLocalInitFuncs()
3857 GV->setAlignment(Align.getAsAlign()); in BuildTypeInfo()
H A DCGExprAgg.cpp515 GV->setAlignment(Align.getAsAlign()); in EmitArrayInit()
H A DMicrosoftCXXABI.cpp2510 GV->setAlignment(Align.getAsAlign()); in getInitThreadEpochPtr()
2653 GuardVar->setAlignment(GuardAlign.getAsAlign()); in EmitGuardedInit()
H A DCGAtomic.cpp370 LVal.getAlignment().getAsAlign()); in emitMemSetZeroIfNecessary()
H A DCGExprConstant.cpp942 GV->setAlignment(Align.getAsAlign()); in tryEmitGlobalCompoundLiteral()
H A DCGBlocks.cpp1384 CGM.getPointerAlign().getAsAlign()); in buildGlobalBlock()
H A DCodeGenFunction.cpp2005 NullVariable->setAlignment(NullAlign.getAsAlign()); in EmitNullInitialization()
H A DCGExpr.cpp73 Alloca->setAlignment(Align.getAsAlign()); in CreateTempAllocaWithoutCast()
412 GV->setAlignment(alignment.getAsAlign()); in createReferenceTemporary()
H A DCGOpenMPRuntimeGPU.cpp3722 GV->setAlignment(Align.getAsAlign()); in getAddressOfLocalVariable()
H A DCodeGenFunction.h1218 store->setAlignment(addr.getAlignment().getAsAlign());
H A DCGBuiltin.cpp3377 .getAsAlign(); in EmitBuiltinExpr()
3392 CGM.getContext().toCharUnitsFromBits(AlignmentInBits).getAsAlign(); in EmitBuiltinExpr()
13144 getContext().getTypeAlignInChars(E->getArg(1)->getType()).getAsAlign()); in EmitX86BuiltinExpr()
13185 getContext().getTypeAlignInChars(E->getArg(1)->getType()).getAsAlign()); in EmitX86BuiltinExpr()
H A DCGOpenMPRuntime.cpp12576 IVLVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate()
12583 Last->setAlignment(LVal.getAlignment().getAsAlign()); in emitLastprivateConditionalUpdate()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCharUnits.h183 llvm::Align getAsAlign() const { return llvm::Align(Quantity); } in getAsAlign() function