| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMSelectionDAGInfo.cpp | 148 ConstantSDNode *ConstantSize, in shouldGenerateInlineTPLoop() argument 163 if (!ConstantSize && Alignment >= Align(4)) in shouldGenerateInlineTPLoop() 165 if (ConstantSize && in shouldGenerateInlineTPLoop() 166 ConstantSize->getZExtValue() > Subtarget.getMaxInlineSizeThreshold() && in shouldGenerateInlineTPLoop() 167 ConstantSize->getZExtValue() < in shouldGenerateInlineTPLoop() 179 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local 182 shouldGenerateInlineTPLoop(Subtarget, DAG, ConstantSize, Alignment, true)) in EmitTargetCodeForMemcpy() 192 if (!ConstantSize) in EmitTargetCodeForMemcpy() 195 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy() 307 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemset() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFSelectionDAGInfo.cpp | 24 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local 25 if (!ConstantSize) in EmitTargetCodeForMemcpy() 28 unsigned CopyLen = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy()
|
| /freebsd/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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiSelectionDAGInfo.cpp | 31 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local 32 if (!ConstantSize) in EmitTargetCodeForMemcpy()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86SelectionDAGInfo.cpp | 222 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemset() local 223 if (!ConstantSize) in EmitTargetCodeForMemset() 229 DAG, Subtarget, dl, Chain, Dst, Val, ConstantSize->getZExtValue(), in EmitTargetCodeForMemset() 345 if (ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size)) in EmitTargetCodeForMemcpy() local 347 ConstantSize->getZExtValue(), in EmitTargetCodeForMemcpy()
|
| /freebsd/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); 456 return ConstantsListOffset + ConstantIndex * ConstantSize; in getConstantOffset() 450 static const unsigned ConstantSize = sizeof(uint64_t); global() variable
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 1188 uint64_t ConstantSize = CGM.getDataLayout().getTypeAllocSize(Ty); in emitStoresForConstant() local 1189 if (!ConstantSize) in emitStoresForConstant() 1202 auto *SizeVal = llvm::ConstantInt::get(CGM.IntPtrTy, ConstantSize); in emitStoresForConstant() 1206 if (shouldUseBZeroPlusStoresToInitialize(constant, ConstantSize)) { in emitStoresForConstant() 1225 shouldUseMemSetToInitialize(constant, ConstantSize, CGM.getDataLayout()); in emitStoresForConstant() 1246 if (shouldSplitConstantStore(CGM, ConstantSize)) { in emitStoresForConstant()
|
| H A D | CGExpr.cpp | 806 llvm::Constant *ConstantSize = dyn_cast<llvm::Constant>(Size); in EmitTypeCheck() local 807 if (!ConstantSize || !ConstantSize->isNullValue()) { in EmitTypeCheck()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 8839 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemcpy() local 8840 if (ConstantSize) { in getMemcpy() 8842 if (ConstantSize->isZero()) in getMemcpy() 8846 *this, dl, Chain, Dst, Src, ConstantSize->getZExtValue(), Alignment, in getMemcpy() 8865 assert(ConstantSize && "AlwaysInline requires a constant size!"); in getMemcpy() 8867 *this, dl, Chain, Dst, Src, ConstantSize->getZExtValue(), Alignment, in getMemcpy() 8968 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemmove() local 8969 if (ConstantSize) { in getMemmove() 8971 if (ConstantSize->isZero()) in getMemmove() 8975 *this, dl, Chain, Dst, Src, ConstantSize->getZExtValue(), Alignment, in getMemmove() [all …]
|