Home
last modified time | relevance | path

Searched refs:ConstantSize (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSelectionDAGInfo.cpp144 ConstantSDNode *ConstantSize, in shouldGenerateInlineTPLoop() argument
159 if (!ConstantSize && Alignment >= Align(4)) in shouldGenerateInlineTPLoop()
161 if (ConstantSize && in shouldGenerateInlineTPLoop()
162 ConstantSize->getZExtValue() > Subtarget.getMaxInlineSizeThreshold() && in shouldGenerateInlineTPLoop()
163 ConstantSize->getZExtValue() < in shouldGenerateInlineTPLoop()
175 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local
178 shouldGenerateInlineTPLoop(Subtarget, DAG, ConstantSize, Alignment, true)) in EmitTargetCodeForMemcpy()
188 if (!ConstantSize) in EmitTargetCodeForMemcpy()
191 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy()
305 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemset() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFSelectionDAGInfo.cpp25 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local
26 if (!ConstantSize) in EmitTargetCodeForMemcpy()
29 unsigned CopyLen = ConstantSize->getZExtValue(); in EmitTargetCodeForMemcpy()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonSelectionDAGInfo.cpp23 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-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiSelectionDAGInfo.cpp27 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local
28 if (!ConstantSize) in EmitTargetCodeForMemcpy()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp51 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemset() local
69 if (Alignment < Align(4) || !ConstantSize || in EmitTargetCodeForMemset()
70 ConstantSize->getZExtValue() > Subtarget.getMaxInlineSizeThreshold()) { in EmitTargetCodeForMemset()
104 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemset()
314 if (ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size)) in EmitTargetCodeForMemcpy() local
316 DAG, Subtarget, dl, Chain, Dst, Src, ConstantSize->getZExtValue(), in EmitTargetCodeForMemcpy()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DStackMapParser.h315 ConstantsListOffset + getNumConstants() * ConstantSize; in StackMapParser()
450 static const unsigned ConstantSize = sizeof(uint64_t); variable
457 return ConstantsListOffset + ConstantIndex * ConstantSize; in getConstantOffset()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp1170 uint64_t ConstantSize = CGM.getDataLayout().getTypeAllocSize(Ty); in emitStoresForConstant() local
1171 if (!ConstantSize) in emitStoresForConstant()
1183 auto *SizeVal = llvm::ConstantInt::get(CGM.IntPtrTy, ConstantSize); in emitStoresForConstant()
1187 if (shouldUseBZeroPlusStoresToInitialize(constant, ConstantSize)) { in emitStoresForConstant()
1205 shouldUseMemSetToInitialize(constant, ConstantSize, CGM.getDataLayout()); in emitStoresForConstant()
1221 if (shouldSplitConstantStore(CGM, ConstantSize)) { in emitStoresForConstant()
H A DCGExpr.cpp743 llvm::Constant *ConstantSize = dyn_cast<llvm::Constant>(Size); in EmitTypeCheck() local
744 if (!ConstantSize || !ConstantSize->isNullValue()) { in EmitTypeCheck()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6809 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemcpy() local
6810 if (ConstantSize) { in getMemcpy()
6812 if (ConstantSize->isNullValue()) in getMemcpy()
6835 assert(ConstantSize && "AlwaysInline requires a constant size!"); in getMemcpy()
6837 ConstantSize->getZExtValue(), Alignment, in getMemcpy()
6924 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemmove() local
6925 if (ConstantSize) { in getMemmove()
6927 if (ConstantSize->isNullValue()) in getMemmove()
7026 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemset() local
7027 if (ConstantSize) { in getMemset()
[all …]