/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXAllocaHoisting.cpp | 48 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 175 if (AI.getArraySize()->getType()->isIntegerTy(32)) in simplifyAllocaArraySize() 183 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in simplifyAllocaArraySize() 212 if (isa<UndefValue>(AI.getArraySize())) in simplifyAllocaArraySize() 218 if (AI.getArraySize()->getType() != IntPtrTy) { in simplifyAllocaArraySize() 219 Value *V = IC.Builder.CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize() 367 ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst() 776 ConstantInt *CS = dyn_cast<ConstantInt>(AI->getArraySize()); in isObjectSizeLessThanOrEq()
|
H A D | InstCombineCasts.cpp | 149 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale); in PromoteCastOfAllocation() 155 Value *Off = ConstantInt::get(AI.getArraySize()->getType(), in PromoteCastOfAllocation()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | APValue.cpp | 353 MakeArray(RHS.getArrayInitializedElts(), RHS.getArraySize()); in APValue() 512 if (getArraySize() == 0) in Profile() 528 unsigned NumFillers = getArraySize() - getArrayInitializedElts(); in Profile() 537 assert(NumFillers == getArraySize()); in Profile() 544 if (N != getArraySize()) { in Profile()
|
H A D | ComputeDependence.cpp | 666 auto Size = E->getArraySize(); in computeDependence()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | APValue.h | 511 return getArrayInitializedElts() != getArraySize(); 525 unsigned getArraySize() const {
|
H A D | PropertiesBase.td | 354 let Read = [{ node.getArraySize() }];
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckPlacementNew.cpp | 81 const Expr *SizeExpr = *NE->getArraySize(); in getExtentSizeOfNewTarget()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | SafeStack.cpp | 227 auto C = dyn_cast<ConstantInt>(AI->getArraySize()); in getStaticAllocaAllocationSize() 663 Value *ArraySize = AI->getArraySize(); in moveDynamicAllocasToUnsafeStack()
|
H A D | StackProtector.cpp | 313 if (const auto *CI = dyn_cast<ConstantInt>(AI->getArraySize())) { in RequiresStackProtector()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | MemoryBuiltins.cpp | 675 Value *ArraySize = I.getArraySize(); in visitAllocaInst() 963 I.getArraySize(), DL.getIntPtrType(I.getContext())); in visitAllocaInst()
|
H A D | Lint.cpp | 577 if (isa<ConstantInt>(I.getArraySize())) in visitAllocaInst()
|
H A D | StackSafetyAnalysis.cpp | 158 const auto *C = dyn_cast<ConstantInt>(AI.getArraySize()); in getStaticAllocaSizeRange()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | HWAddressSanitizer.cpp | 883 const ConstantInt *CI = dyn_cast<ConstantInt>(AI.getArraySize()); in getAllocaSizeInBytes() 1296 cast<ConstantInt>(AI->getArraySize())->getZExtValue(); in sanitizeFunction() 1341 if (isa<ConstantInt>(AI->getArraySize())) in sanitizeFunction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FunctionLoweringInfo.cpp | 158 const ConstantInt *CUI = cast<ConstantInt>(AI->getArraySize()); in set()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 716 ConstantEmitter(CGF).tryEmitAbstract(*e->getArraySize(), e->getType()); in EmitCXXNewAllocSize() 718 numElements = CGF.EmitScalarExpr(*e->getArraySize()); in EmitCXXNewAllocSize() 728 = (*e->getArraySize())->getType()->isSignedIntegerOrEnumerationType(); in EmitCXXNewAllocSize()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | TailRecursionElimination.cpp | 525 if (isa<ConstantInt>(AI->getArraySize())) in createTailRecurseLoopHeader()
|
H A D | MemCpyOptimizer.cpp | 888 ConstantInt *srcArraySize = dyn_cast<ConstantInt>(srcAlloca->getArraySize()); in performCallSlotOptzn()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/ |
H A D | AArch64StackTagging.cpp | 503 cast<ConstantInt>(Info.AI->getArraySize())->getZExtValue()) in alignAndPadAlloca()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCallAndReturn.cpp | 700 if (const Expr *SizeExpr = CNE->getArraySize().getValueOr(nullptr)) { in bindReturnValue()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | CloneFunction.cpp | 422 if (isa<ConstantInt>(AI->getArraySize())) in CloneBlock()
|
H A D | InlineFunction.cpp | 1478 return isa<Constant>(AI->getArraySize()) && !AI->isUsedWithInAlloca(); in allocaWouldBeStaticInEntry() 2206 dyn_cast<ConstantInt>(AI->getArraySize())) { in InlineFunction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 447 if (auto *CI = dyn_cast<ConstantInt>(AI->getArraySize())) in addFieldForAlloca() 1514 if (auto *CI = dyn_cast<ConstantInt>(AI->getArraySize())) { in insertSpills()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 7746 return Node.isArray() && *Node.getArraySize() && in AST_MATCHER_P() 7747 InnerMatcher.matches(**Node.getArraySize(), Finder, Builder); in AST_MATCHER_P()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | AsmWriter.cpp | 4276 if (!AI->getArraySize() || AI->isArrayAllocation() || in printInstruction() 4277 !AI->getArraySize()->getType()->isIntegerTy(32)) { in printInstruction() 4279 writeOperand(AI->getArraySize(), true); in printInstruction()
|