| /src/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMSelectionDAGInfo.cpp | 143 ConstantSDNode *ConstantSize, in shouldGenerateInlineTPLoop() argument 158 if (!ConstantSize && Alignment >= Align(4)) in shouldGenerateInlineTPLoop() 160 if (ConstantSize && in shouldGenerateInlineTPLoop() 161 ConstantSize->getZExtValue() > Subtarget.getMaxInlineSizeThreshold() && in shouldGenerateInlineTPLoop() 162 ConstantSize->getZExtValue() < in shouldGenerateInlineTPLoop() 174 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local 177 shouldGenerateInlineTPLoop(Subtarget, DAG, ConstantSize, Alignment, true)) in EmitTargetCodeForMemcpy() 187 if (!ConstantSize) in EmitTargetCodeForMemcpy() 190 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy() 302 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemset() local [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFSelectionDAGInfo.cpp | 25 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local 26 if (!ConstantSize) in EmitTargetCodeForMemcpy() 29 unsigned CopyLen = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy()
|
| /src/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonSelectionDAGInfo.cpp | 23 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local 24 if (AlwaysInline || Alignment < Align(4) || !ConstantSize) in EmitTargetCodeForMemcpy() 27 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy()
|
| /src/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiSelectionDAGInfo.cpp | 27 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local 28 if (!ConstantSize) in EmitTargetCodeForMemcpy()
|
| /src/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86SelectionDAGInfo.cpp | 61 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemset() local 68 if (Alignment < Align(4) || !ConstantSize || in EmitTargetCodeForMemset() 69 ConstantSize->getZExtValue() > Subtarget.getMaxInlineSizeThreshold()) in EmitTargetCodeForMemset() 72 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemset() 286 if (ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size)) in EmitTargetCodeForMemcpy() local 288 ConstantSize->getZExtValue(), in EmitTargetCodeForMemcpy()
|
| /src/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | StackMapParser.h | 314 ConstantsListOffset + getNumConstants() * ConstantSize; in StackMapParser() 449 static const unsigned ConstantSize = sizeof(uint64_t); variable 456 return ConstantsListOffset + ConstantIndex * ConstantSize; in getConstantOffset()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 1196 uint64_t ConstantSize = CGM.getDataLayout().getTypeAllocSize(Ty); in emitStoresForConstant() local 1197 if (!ConstantSize) in emitStoresForConstant() 1209 auto *SizeVal = llvm::ConstantInt::get(CGM.IntPtrTy, ConstantSize); in emitStoresForConstant() 1213 if (shouldUseBZeroPlusStoresToInitialize(constant, ConstantSize)) { in emitStoresForConstant() 1231 shouldUseMemSetToInitialize(constant, ConstantSize, CGM.getDataLayout()); in emitStoresForConstant() 1251 if (shouldSplitConstantStore(CGM, ConstantSize)) { in emitStoresForConstant()
|
| H A D | CGExpr.cpp | 750 llvm::Constant *ConstantSize = dyn_cast<llvm::Constant>(Size); in EmitTypeCheck() local 751 if (!ConstantSize || !ConstantSize->isNullValue()) { in EmitTypeCheck()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 8263 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemcpy() local 8264 if (ConstantSize) { in getMemcpy() 8266 if (ConstantSize->isZero()) in getMemcpy() 8270 *this, dl, Chain, Dst, Src, ConstantSize->getZExtValue(), Alignment, in getMemcpy() 8289 assert(ConstantSize && "AlwaysInline requires a constant size!"); in getMemcpy() 8291 *this, dl, Chain, Dst, Src, ConstantSize->getZExtValue(), Alignment, in getMemcpy() 8390 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemmove() local 8391 if (ConstantSize) { in getMemmove() 8393 if (ConstantSize->isZero()) in getMemmove() 8397 *this, dl, Chain, Dst, Src, ConstantSize->getZExtValue(), Alignment, in getMemmove() [all …]
|