Home
last modified time | relevance | path

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

/external/llvm/lib/Target/SystemZ/
DSystemZSelectionDAGInfo.cpp64 if (auto *CSize = dyn_cast<ConstantSDNode>(Size)) in EmitTargetCodeForMemcpy() local
66 Chain, Dst, Src, CSize->getZExtValue()); in EmitTargetCodeForMemcpy()
95 if (auto *CSize = dyn_cast<ConstantSDNode>(Size)) { in EmitTargetCodeForMemset() local
96 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemset()
196 if (auto *CSize = dyn_cast<ConstantSDNode>(Size)) { in EmitTargetCodeForMemcmp() local
197 uint64_t Bytes = CSize->getZExtValue(); in EmitTargetCodeForMemcmp()
/external/clang/test/CodeGen/
D2008-03-24-BitField-And-Alloca.c51 unsigned int CSize : 2; member
/external/llvm/lib/IR/
DConstantFold.cpp216 unsigned CSize = cast<IntegerType>(C->getType())->getBitWidth()/8; in ExtractConstantBytes() local
218 assert(ByteStart+ByteSize <= CSize && "Extracting invalid piece from input"); in ExtractConstantBytes()
219 assert(ByteSize != CSize && "Should not extract everything"); in ExtractConstantBytes()
277 if (ByteStart >= CSize-ShAmt) in ExtractConstantBytes()
281 if (ByteStart+ByteSize+ShAmt <= CSize) in ExtractConstantBytes()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp5660 const ConstantInt *CSize = dyn_cast<ConstantInt>(Size); in visitMemCmpCall() local
5661 if (CSize && CSize->getZExtValue() == 0) { in visitMemCmpCall()
5681 if (CSize && IsOnlyUsedInZeroEqualityComparison(&I)) { in visitMemCmpCall()
5685 switch (CSize->getZExtValue()) { in visitMemCmpCall()
5693 LoadTy = Type::getInt16Ty(CSize->getContext()); in visitMemCmpCall()
5697 LoadTy = Type::getInt32Ty(CSize->getContext()); in visitMemCmpCall()
5701 LoadTy = Type::getInt64Ty(CSize->getContext()); in visitMemCmpCall()
5720 if (ActuallyDoIt && CSize->getZExtValue() > 4) { in visitMemCmpCall()