Searched refs:AllocaInst (Results 51 - 75 of 99) sorted by relevance

1234

/freebsd-10.2-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDecl.cpp907 llvm::AllocaInst *Alloc = CreateTempAlloca(LTy);
957 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla");
1623 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty),
1658 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty),
H A DCGCall.cpp1347 llvm::AllocaInst *Alloca = CreateMemTemp(Ty, Arg->getName());
1388 llvm::AllocaInst *TempAlloca =
1424 llvm::AllocaInst *Alloca = CreateMemTemp(Ty);
1708 if (ReturnValue->use_empty() && isa<llvm::AllocaInst>(ReturnValue)) {
1709 cast<llvm::AllocaInst>(ReturnValue)->eraseFromParent();
1784 return isa<llvm::AllocaInst>(addr);
2305 llvm::AllocaInst *AI = CreateMemTemp(I->Ty);
2340 llvm::AllocaInst *AI = CreateMemTemp(I->Ty);
2421 llvm::AllocaInst *TempAlloca
H A DCGExpr.cpp53 llvm::AllocaInst *CodeGenFunction::CreateTempAlloca(llvm::Type *Ty,
56 return new llvm::AllocaInst(Ty, 0, "", AllocaInsertPt);
57 return new llvm::AllocaInst(Ty, 0, Name, AllocaInsertPt);
60 void CodeGenFunction::InitTempAlloca(llvm::AllocaInst *Var,
67 llvm::AllocaInst *CodeGenFunction::CreateIRTemp(QualType Ty,
69 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertType(Ty), Name);
76 llvm::AllocaInst *CodeGenFunction::CreateMemTemp(QualType Ty,
78 llvm::AllocaInst *Alloc = CreateTempAlloca(ConvertTypeForMem(Ty), Name);
H A DCGCleanup.cpp254 llvm::AllocaInst *active
1073 llvm::AllocaInst *var = Scope.getActiveFlag();
H A DCGBlocks.cpp711 llvm::AllocaInst *blockAddr = blockInfo.Address;
1159 llvm::AllocaInst *Alloca = CreateTempAlloca(BlockPointer->getType(),
1188 llvm::AllocaInst *alloca =
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Scalar/
H A DLoopRotation.cpp369 !isa<AllocaInst>(Inst)) {
H A DGVN.cpp1460 if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI) ||
1976 if (isa<AllocaInst>(DepInst) || isMallocLikeFn(DepInst, TLI)) {
2285 if (isa<AllocaInst>(I) || isa<TerminatorInst>(I) || isa<PHINode>(I)) {
2436 if (isa<AllocaInst>(CurInst) ||
/freebsd-10.2-release/contrib/llvm/include/llvm/IR/
H A DInstructions.h53 // AllocaInst Class
56 /// AllocaInst - an instruction to allocate memory on the stack
58 class AllocaInst : public UnaryInstruction { class in namespace:llvm
60 virtual AllocaInst *clone_impl() const;
62 explicit AllocaInst(Type *Ty, Value *ArraySize = 0,
64 AllocaInst(Type *Ty, Value *ArraySize,
67 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = 0);
68 AllocaInst(Type *Ty, const Twine &Name, BasicBlock *InsertAtEnd);
70 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
72 AllocaInst(Typ
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Analysis/
H A DAliasAnalysis.cpp547 if (isa<AllocaInst>(V))
H A DMemoryBuiltins.cpp441 SizeOffsetType ObjectSizeOffsetVisitor::visitAllocaInst(AllocaInst &I) {
671 SizeOffsetEvalType ObjectSizeOffsetEvaluator::visitAllocaInst(AllocaInst &I) {
H A DLazyValueInfo.cpp527 if (AllocaInst *AI = dyn_cast<AllocaInst>(BBI)) {
H A DMemoryDependenceAnalysis.cpp500 if (isa<AllocaInst>(Inst) || isNoAliasFn(Inst, TLI)) {
510 if (isa<AllocaInst>(Inst) ||
H A DValueTracking.cpp611 AllocaInst *AI = cast<AllocaInst>(V);
2069 if (isa<AllocaInst>(V)) return true;
/freebsd-10.2-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp428 if (isa<AllocaInst>(Inst))
H A DObjCARCOpts.cpp190 if (isa<AllocaInst>(P))
2627 bool KnownSafe = isa<Constant>(Arg) || isa<AllocaInst>(Arg);
2790 if (AllocaInst *Alloca = dyn_cast<AllocaInst>(Arg)) {
/freebsd-10.2-release/contrib/llvm/lib/CodeGen/
H A DMachineFunction.cpp493 bool isSS, bool MayNeedSP, const AllocaInst *Alloca) {
529 const AllocaInst *Alloca) {
/freebsd-10.2-release/contrib/llvm/lib/Target/X86/
H A DX86FastISel.cpp133 unsigned TargetMaterializeAlloca(const AllocaInst *C);
476 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(V)) ||
512 const AllocaInst *A = cast<AllocaInst>(V);
513 DenseMap<const AllocaInst*, int>::iterator SI =
1697 const AllocaInst *Slot = cast<AllocaInst>(I.getArgOperand(1));
2467 unsigned X86FastISel::TargetMaterializeAlloca(const AllocaInst *C) {
/freebsd-10.2-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1182 if (const AllocaInst *AI = dyn_cast<AllocaInst>(V)) {
1183 DenseMap<const AllocaInst*, int>::iterator SI =
3333 void SelectionDAGBuilder::visitAlloca(const AllocaInst &I) {
4673 const AllocaInst *AI = dyn_cast<AllocaInst>(Address);
4693 DEBUG(dbgs() << "non-AllocaInst issue for Address: \n\t");
4704 if (const AllocaInst *AI = dyn_cast<AllocaInst>(Address)) {
4706 DenseMap<const AllocaInst*, in
[all...]
/freebsd-10.2-release/contrib/llvm/lib/IR/
H A DVerifier.cpp320 void visitAllocaInst(AllocaInst &AI);
1863 void Verifier::visitAllocaInst(AllocaInst &AI) {
2336 AllocaInst *AI =
2337 dyn_cast<AllocaInst>(CI.getArgOperand(0)->stripPointerCasts());
2365 Assert1(isa<AllocaInst>(CI.getArgOperand(1)->stripPointerCasts()),
H A DValue.cpp449 if (isa<AllocaInst>(V)) return true;
/freebsd-10.2-release/contrib/llvm/lib/Target/ARM/
H A DARMFastISel.cpp147 virtual unsigned TargetMaterializeAlloca(const AllocaInst *AI);
792 unsigned ARMFastISel::TargetMaterializeAlloca(const AllocaInst *AI) {
799 DenseMap<const AllocaInst*, int>::iterator SI =
849 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) ||
929 const AllocaInst *AI = cast<AllocaInst>(Obj);
930 DenseMap<const AllocaInst*, int>::iterator SI =
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Expression/
H A DIRForTarget.cpp1225 AllocaInst *alloc = dyn_cast<AllocaInst>(persistent_alloc);
1309 if (AllocaInst *alloc = dyn_cast<AllocaInst>(&inst))
H A DIRInterpreter.cpp739 const AllocaInst *alloca_inst = dyn_cast<AllocaInst>(inst);
744 log->Printf("getOpcode() returns Alloca, but instruction is not an AllocaInst");
772 log->Printf("Couldn't allocate memory for an AllocaInst");
783 log->Printf("Couldn't allocate the result pointer for an AllocaInst");
796 log->Printf("Couldn't write the result pointer for an AllocaInst");
809 log->Printf("Interpreted an AllocaInst");
/freebsd-10.2-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp80 AllocaInst &AI) {
141 AllocaInst *New = AllocaBuilder.CreateAlloca(CastElTy, Amt);
1753 if (AllocaInst *AI = dyn_cast<AllocaInst>(Src))
H A DInstCombineCalls.cpp724 if (isa<AllocaInst>(BI)) {
808 if (!isa<AllocaInst>(Underlying))

Completed in 427 milliseconds

1234