Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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()
303 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemset() local
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiSelectionDAGInfo.cpp27 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in EmitTargetCodeForMemcpy() local
28 if (!ConstantSize) in EmitTargetCodeForMemcpy()
/openbsd/gnu/llvm/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()
73 uint64_t SizeVal = ConstantSize->getZExtValue(); in EmitTargetCodeForMemset()
283 if (ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size)) in EmitTargetCodeForMemcpy() local
285 DAG, Subtarget, dl, Chain, Dst, Src, ConstantSize->getZExtValue(), in EmitTargetCodeForMemcpy()
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGDecl.cpp1181 uint64_t ConstantSize = CGM.getDataLayout().getTypeAllocSize(Ty); in emitStoresForConstant() local
1182 if (!ConstantSize) in emitStoresForConstant()
1194 auto *SizeVal = llvm::ConstantInt::get(CGM.IntPtrTy, ConstantSize); in emitStoresForConstant()
1198 if (shouldUseBZeroPlusStoresToInitialize(constant, ConstantSize)) { in emitStoresForConstant()
1216 shouldUseMemSetToInitialize(constant, ConstantSize, CGM.getDataLayout()); in emitStoresForConstant()
1232 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()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp7423 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemcpy() local
7424 if (ConstantSize) { in getMemcpy()
7426 if (ConstantSize->isZero()) in getMemcpy()
7449 assert(ConstantSize && "AlwaysInline requires a constant size!"); in getMemcpy()
7537 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemmove() local
7538 if (ConstantSize) { in getMemmove()
7540 if (ConstantSize->isZero()) in getMemmove()
7638 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size); in getMemset() local
7639 if (ConstantSize) { in getMemset()
7641 if (ConstantSize->isZero()) in getMemset()
[all …]