/external/swiftshader/third_party/subzero/src/ |
D | IceASanInstrumentation.cpp | 275 SizeT VarSize = VarSizeOp->getValue(); in instrumentFuncStart() local 277 ICE_TLS_GET_FIELD(LocalVars)->insert({Dest, VarSize}); in instrumentFuncStart() 278 SizeT RzPadding = RzSize + Utils::OffsetToAlignment(VarSize, RzSize); in instrumentFuncStart() 280 ConstantInteger32::create(Ctx, IceType_i32, VarSize + RzPadding); in instrumentFuncStart() 285 const SizeT Zeros = VarSize >> ShadowScaleLog2; in instrumentFuncStart() 286 const SizeT Offset = VarSize % ShadowScale; in instrumentFuncStart() 288 ((VarSize + RzPadding) >> ShadowScaleLog2) - Zeros - 1; in instrumentFuncStart()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGOpenMPRuntime.h | 640 CharUnits VarSize; variable 650 unsigned Order, llvm::Constant *Addr, CharUnits VarSize, in OffloadEntryInfoDeviceGlobalVar() argument 654 VarSize(VarSize), Linkage(Linkage) { in OffloadEntryInfoDeviceGlobalVar() 658 CharUnits getVarSize() const { return VarSize; } in getVarSize() 659 void setVarSize(CharUnits Size) { VarSize = Size; } in setVarSize() 675 CharUnits VarSize,
|
D | CGOpenMPRuntime.cpp | 3016 CharUnits VarSize, in registerDeviceGlobalVarEntryInfo() argument 3027 Entry.setVarSize(VarSize); in registerDeviceGlobalVarEntryInfo() 3032 Entry.setVarSize(VarSize); in registerDeviceGlobalVarEntryInfo() 3043 Entry.setVarSize(VarSize); in registerDeviceGlobalVarEntryInfo() 3049 VarName, OffloadingEntriesNum, Addr, VarSize, Flags, Linkage); in registerDeviceGlobalVarEntryInfo() 10439 CharUnits VarSize = CGM.getContext().getTypeSizeInChars(Ty); in registerTargetFirstprivateCopy() local 10442 VarName, Addr, VarSize, in registerTargetFirstprivateCopy() 10466 CharUnits VarSize; in registerTargetGlobalVariable() local 10474 VarSize = CGM.getContext().getTypeSizeInChars(VD->getType()); in registerTargetGlobalVariable() 10475 assert(!VarSize.isZero() && "Expected non-zero size of the variable"); in registerTargetGlobalVariable() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGCUDANV.cpp | 226 uint64_t VarSize = in makeRegisterGlobalsFn() local 234 llvm::ConstantInt::get(IntTy, VarSize), in makeRegisterGlobalsFn()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 473 uint64_t VarSize) { in transferSRADebugInfo() argument 481 if (FragmentSizeInBits < VarSize) { in transferSRADebugInfo() 506 uint64_t VarSize = DL.getTypeSizeInBits(Ty); in SRAGlobal() local 562 transferSRADebugInfo(GV, NGV, FragmentOffsetInBits, Size, VarSize); in SRAGlobal() 575 FragmentSizeInBits, VarSize); in SRAGlobal()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 4359 auto VarSize = Var->getSizeInBits(); in splitAlloca() local 4389 if (VarSize) { in splitAlloca() 4390 if (Size > *VarSize) in splitAlloca() 4391 Size = *VarSize; in splitAlloca() 4392 if (Size == 0 || Start + Size > *VarSize) in splitAlloca() 4397 if (!VarSize || *VarSize != Size) { in splitAlloca()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 4553 auto VarSize = DbgDeclare->getVariable()->getSizeInBits(); in splitAlloca() local 4554 if (VarSize) { in splitAlloca() 4555 if (Size > *VarSize) in splitAlloca() 4556 Size = *VarSize; in splitAlloca() 4557 if (Size == 0 || Start + Size > *VarSize) in splitAlloca() 4562 if (!VarSize || *VarSize != Size) { in splitAlloca()
|
/external/llvm/lib/IR/ |
D | Verifier.cpp | 4244 uint64_t VarSize = getVariableSize(*V); in verifyBitPieceExpression() local 4245 if (!VarSize) in verifyBitPieceExpression() 4250 Assert(PieceSize + PieceOffset <= VarSize, in verifyBitPieceExpression() 4252 Assert(PieceSize != VarSize, "piece covers entire variable", &I, V, E); in verifyBitPieceExpression()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Verifier.cpp | 5005 auto VarSize = V.getSizeInBits(); in verifyFragmentExpression() local 5006 if (!VarSize) in verifyFragmentExpression() 5011 AssertDI(FragSize + FragOffset <= *VarSize, in verifyFragmentExpression() 5013 AssertDI(FragSize != *VarSize, "fragment covers entire variable", Desc, &V); in verifyFragmentExpression()
|
/external/llvm-project/llvm/lib/IR/ |
D | Verifier.cpp | 5425 auto VarSize = V.getSizeInBits(); in verifyFragmentExpression() local 5426 if (!VarSize) in verifyFragmentExpression() 5431 AssertDI(FragSize + FragOffset <= *VarSize, in verifyFragmentExpression() 5433 AssertDI(FragSize != *VarSize, "fragment covers entire variable", Desc, &V); in verifyFragmentExpression()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1359 if (auto VarSize = Var->getSizeInBits()) in handleDebugValue() local 1360 BitsToDescribe = *VarSize; in handleDebugValue()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1319 if (auto VarSize = Var->getSizeInBits()) in handleDebugValue() local 1320 BitsToDescribe = *VarSize; in handleDebugValue()
|