Home
last modified time | relevance | path

Searched refs:VarSize (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCUDANV.cpp597 uint64_t VarSize = in makeRegisterGlobalsFn() local
619 llvm::ConstantInt::get(VarSizeTy, VarSize), in makeRegisterGlobalsFn()
630 llvm::ConstantInt::get(VarSizeTy, VarSize), in makeRegisterGlobalsFn()
1126 uint64_t VarSize = in createOffloadingEntries() local
1130 I.Var, getDeviceSideName(I.D), VarSize, in createOffloadingEntries()
1135 OMPBuilder.emitOffloadingEntry(I.Var, getDeviceSideName(I.D), VarSize, in createOffloadingEntries()
1139 OMPBuilder.emitOffloadingEntry(I.Var, getDeviceSideName(I.D), VarSize, in createOffloadingEntries()
H A DCGOpenMPRuntime.h662 CharUnits VarSize; variable
672 unsigned Order, llvm::Constant *Addr, CharUnits VarSize, in OffloadEntryInfoDeviceGlobalVar() argument
676 VarSize(VarSize), Linkage(Linkage) { in OffloadEntryInfoDeviceGlobalVar()
680 CharUnits getVarSize() const { return VarSize; } in getVarSize()
681 void setVarSize(CharUnits Size) { VarSize = Size; } in setVarSize()
697 CharUnits VarSize,
H A DCGOpenMPRuntime.cpp3048 CharUnits VarSize, in registerDeviceGlobalVarEntryInfo() argument
3058 Entry.setVarSize(VarSize); in registerDeviceGlobalVarEntryInfo()
3063 Entry.setVarSize(VarSize); in registerDeviceGlobalVarEntryInfo()
3072 Entry.setVarSize(VarSize); in registerDeviceGlobalVarEntryInfo()
3078 VarName, OffloadingEntriesNum, Addr, VarSize, Flags, Linkage); in registerDeviceGlobalVarEntryInfo()
10751 CharUnits VarSize; in registerTargetGlobalVariable() local
10759 VarSize = CGM.getContext().getTypeSizeInChars(VD->getType()); in registerTargetGlobalVariable()
10760 assert(!VarSize.isZero() && "Expected non-zero size of the variable"); in registerTargetGlobalVariable()
10762 VarSize = CharUnits::Zero(); in registerTargetGlobalVariable()
10799 VarSize = CGM.getPointerSize(); in registerTargetGlobalVariable()
[all …]
H A DCGDecl.cpp358 CharUnits VarSize = CGM.getContext().getTypeSizeInChars(D.getType()) + in AddInitializerToStaticVarDecl() local
362 assert(VarSize == CstSize && "Emitted constant has unexpected size"); in AddInitializerToStaticVarDecl()
H A DCodeGenModule.cpp4746 CharUnits VarSize = getContext().getTypeSizeInChars(ASTTy) + in EmitGlobalVarDefinition() local
4750 assert(VarSize == CstSize && "Emitted constant has unexpected size"); in EmitGlobalVarDefinition()
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/src/
H A Drtl.cpp1726 uint32_t *VarSize) { in interopGetSymbolInfo() argument
1731 *VarSize = SI.Size; in interopGetSymbolInfo()
2561 uint32_t VarSize; in __tgt_rtl_load_binary_locked() local
2563 &ExecModePtr, &VarSize); in __tgt_rtl_load_binary_locked()
2566 if ((size_t)VarSize != sizeof(llvm::omp::OMPTgtExecModeFlags)) { in __tgt_rtl_load_binary_locked()
2569 ExecModeName, VarSize, sizeof(llvm::omp::OMPTgtExecModeFlags)); in __tgt_rtl_load_binary_locked()
2573 memcpy(&ExecModeVal, ExecModePtr, (size_t)VarSize); in __tgt_rtl_load_binary_locked()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp401 uint64_t VarSize) { in transferSRADebugInfo() argument
437 else if (FragmentSizeInBits < VarSize) { in transferSRADebugInfo()
509 uint64_t VarSize = DL.getTypeSizeInBits(GV->getValueType()); in SRAGlobal() local
533 VarSize); in SRAGlobal()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp4532 auto VarSize = DbgDeclare->getVariable()->getSizeInBits(); in splitAlloca() local
4533 if (VarSize) { in splitAlloca()
4534 if (Size > *VarSize) in splitAlloca()
4535 Size = *VarSize; in splitAlloca()
4536 if (Size == 0 || Start + Size > *VarSize) in splitAlloca()
4541 if (!VarSize || *VarSize != Size) { in splitAlloca()
/llvm-project-15.0.7/llvm/lib/IR/
H A DVerifier.cpp6018 auto VarSize = V.getSizeInBits(); in verifyFragmentExpression() local
6019 if (!VarSize) in verifyFragmentExpression()
6024 CheckDI(FragSize + FragOffset <= *VarSize, in verifyFragmentExpression()
6026 CheckDI(FragSize != *VarSize, "fragment covers entire variable", Desc, &V); in verifyFragmentExpression()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1414 if (auto VarSize = Var->getSizeInBits()) in handleDebugValue() local
1415 BitsToDescribe = *VarSize; in handleDebugValue()