Home
last modified time | relevance | path

Searched refs:CSize (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZSelectionDAGInfo.cpp67 if (auto *CSize = dyn_cast<ConstantSDNode>(Size)) in EmitTargetCodeForMemcpy() local
69 CSize->getZExtValue()); in EmitTargetCodeForMemcpy()
98 if (auto *CSize = dyn_cast<ConstantSDNode>(Size)) { in EmitTargetCodeForMemset() local
99 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset()
178 if (auto *CSize = dyn_cast<ConstantSDNode>(Size)) { in EmitTargetCodeForMemcmp() local
179 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemcmp()
/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DProfileGenerator.h205 int32_t CSize = MaxCompressionSize) {
209 CSize == -1 ? HS : std::min(static_cast<uint32_t>(CSize), HS);
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantFold.cpp218 unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8; in ExtractConstantBytes() local
220 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes()
221 assert(ByteSize != CSize && "Should not extract everything"); in ExtractConstantBytes()
279 if (ShAmt.uge(CSize - ByteStart)) in ExtractConstantBytes()
283 if (ShAmt.ule(CSize - (ByteStart + ByteSize))) in ExtractConstantBytes()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp1350 if (auto *CSize = dyn_cast<ConstantInt>(Size)) { in hasUndefContents() local
1352 LTSize->getZExtValue() >= CSize->getZExtValue()) in hasUndefContents()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprConstant.cpp166 CharUnits CSize = getSize(C); in add() local
167 std::optional<size_t> LastElemToReplace = splitAt(Offset + CSize); in add()
176 Size = std::max(Size, Offset + CSize); in add()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp8086 const ConstantSDNode *CSize = dyn_cast<ConstantSDNode>(getValue(Size)); in visitMemCmpBCmpCall() local
8087 if (CSize && CSize->getZExtValue() == 0) { in visitMemCmpBCmpCall()
8106 if (!CSize || !isOnlyUsedInZeroEqualityComparison(&I)) in visitMemCmpBCmpCall()
8135 unsigned NumBitsToCompare = CSize->getZExtValue() * 8; in visitMemCmpBCmpCall()