Searched refs:AllocaInst (Results 26 - 50 of 99) sorted by relevance

1234

/freebsd-10.2-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCleanup.h25 class AllocaInst;
220 llvm::AllocaInst *ActiveFlag;
289 llvm::AllocaInst *getActiveFlag() const { return ActiveFlag; }
290 void setActiveFlag(llvm::AllocaInst *Var) { ActiveFlag = Var; }
H A DCGBlocks.h208 llvm::AllocaInst *Address;
H A DCodeGenFunction.h258 llvm::AllocaInst *NormalCleanupDest;
274 llvm::AllocaInst *EHSelectorSlot;
301 llvm::AllocaInst *ForEHVar;
305 llvm::AllocaInst *SavedExnVar;
1355 llvm::AllocaInst *CreateTempAlloca(llvm::Type *Ty,
1359 void InitTempAlloca(llvm::AllocaInst *Alloca, llvm::Value *Value);
1366 llvm::AllocaInst *CreateIRTemp(QualType T, const Twine &Name = "tmp");
1370 llvm::AllocaInst *CreateMemTemp(QualType T, const Twine &Name = "tmp");
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp383 Value *NewAlloca = new AllocaInst(AggTy, 0, Align, Arg->getName(),
434 static bool hasLifetimeMarkers(AllocaInst *AI) {
637 AllocaInst *AI = dyn_cast<AllocaInst>(I++);
655 while (isa<AllocaInst>(I) &&
656 isa<Constant>(cast<AllocaInst>(I)->getArraySize())) {
657 IFI.StaticAllocas.push_back(cast<AllocaInst>(I));
675 AllocaInst *AI = IFI.StaticAllocas[ai];
690 assert(AllocaArraySize > 0 && "array size of AllocaInst is zero");
H A DCloneFunction.cpp56 if (const AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
292 if (const AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
H A DCodeExtractor.cpp57 if (isa<AllocaInst>(I) || isa<InvokeInst>(I))
442 AllocaInst *alloca =
443 new AllocaInst((*i)->getType(), 0, (*i)->getName()+".loc",
450 AllocaInst *Struct = 0;
460 new AllocaInst(StructArgTy, 0, "structArg",
H A DLocal.cpp883 if (AllocaInst *AI = dyn_cast<AllocaInst>(V)) {
1048 AllocaInst *AI = dyn_cast_or_null<AllocaInst>(DDI->getAddress());
1083 bool llvm::replaceDbgDeclareForAlloca(AllocaInst *AI, Value *NewAllocaAddress,
/freebsd-10.2-release/contrib/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h193 SizeOffsetType visitAllocaInst(AllocaInst &I);
259 SizeOffsetEvalType visitAllocaInst(AllocaInst &I);
/freebsd-10.2-release/contrib/llvm/include/llvm/CodeGen/
H A DFastISel.h24 class AllocaInst;
353 virtual unsigned TargetMaterializeAlloca(const AllocaInst* C) {
/freebsd-10.2-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp145 isOnlyCopiedFromConstantGlobal(AllocaInst *AI,
153 Instruction *InstCombiner::visitAllocaInst(AllocaInst &AI) {
171 AllocaInst *New = Builder->CreateAlloca(NewTy, 0, AI.getName());
178 while (isa<AllocaInst>(*It) || isa<DbgInfoIntrinsic>(*It)) ++It;
224 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst);
592 if (isa<AllocaInst>(Ptr))
595 if (isa<AllocaInst>(GEP->getOperand(0))) {
H A DInstCombinePHI.cpp157 (!isa<AllocaInst>(GEP->getOperand(0)) ||
256 if (AllocaInst *AI = dyn_cast<AllocaInst>(L->getOperand(0))) {
280 if (AllocaInst *AI = dyn_cast<AllocaInst>(GEP->getOperand(0)))
H A DInstCombine.h196 Instruction *visitAllocaInst(AllocaInst &AI);
374 Instruction *PromoteCastOfAllocation(BitCastInst &CI, AllocaInst &AI);
/freebsd-10.2-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h306 if (isa<Constant>(Op) || isa<AllocaInst>(Op))
368 isa<AllocaInst>(V))
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp137 static bool CanTRE(AllocaInst *AI) {
194 if (AllocaInst *AI = dyn_cast<AllocaInst>(I)) {
526 if (AllocaInst *AI = dyn_cast<AllocaInst>(OEBI++))
H A DMemCpyOptimizer.cpp594 AllocaInst *srcAlloca = dyn_cast<AllocaInst>(cpySrc);
614 if (AllocaInst *A = dyn_cast<AllocaInst>(cpyDest)) {
653 if (!isDestSufficientlyAligned && !isa<AllocaInst>(cpyDest))
720 assert(isa<AllocaInst>(cpyDest) && "Can only increase alloca alignment!");
721 cast<AllocaInst>(cpyDest)->setAlignment(srcAlign);
H A DDeadStoreElimination.cpp736 if (isa<AllocaInst>(I))
801 if (isa<AllocaInst>(BBI)) {
892 if (isa<AllocaInst>(UnderlyingPointer) || isa<Argument>(UnderlyingPointer)) {
/freebsd-10.2-release/contrib/llvm/lib/Analysis/
H A DLint.cpp91 void visitAllocaInst(AllocaInst &I);
262 Assert1(!isa<AllocaInst>(Obj),
363 Assert1(!isa<AllocaInst>(Obj),
425 if (AllocaInst *AI = dyn_cast<AllocaInst>(Base)) {
565 void Lint::visitAllocaInst(AllocaInst &I) {
H A DBasicAliasAnalysis.cpp58 if (isa<AllocaInst>(V) || isNoAliasCall(V))
161 return isa<AllocaInst>(V) || isNoAliasCall(V) || isNoAliasArgument(V);
603 if (OrLocal && isa<AllocaInst>(V))
708 if (isa<AllocaInst>(Object))
/freebsd-10.2-release/contrib/llvm/lib/IR/
H A DInstructions.cpp819 // AllocaInst Implementation
834 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, function in class:AllocaInst
843 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, function in class:AllocaInst
852 AllocaInst::AllocaInst(Type *Ty, const Twine &Name, function in class:AllocaInst
861 AllocaInst::AllocaInst(Type *Ty, const Twine &Name, function in class:AllocaInst
870 AllocaInst function in class:AllocaInst
879 AllocaInst::AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, function in class:AllocaInst
[all...]
/freebsd-10.2-release/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h149 void visitAllocaInst(AllocaInst &I);
/freebsd-10.2-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp165 (!isa<AllocaInst>(V) ||
166 !FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(V))))
189 } else if (isa<AllocaInst>(V)) {
190 Reg = TargetMaterializeAlloca(cast<AllocaInst>(V));
638 (!isa<AllocaInst>(Address) ||
639 !FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(Address))))
1043 if (FuncInfo.StaticAllocaMap.count(cast<AllocaInst>(I)))
H A DSelectionDAGBuilder.h31 class AllocaInst;
737 void visitAlloca(const AllocaInst &I);
/freebsd-10.2-release/contrib/llvm/include/llvm/
H A DInstVisitor.h56 /// void visitAllocaInst(AllocaInst &AI) { ++Count; }
174 RetTy visitAllocaInst(AllocaInst &I) { DELEGATE(UnaryInstruction);}
/freebsd-10.2-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp107 virtual unsigned TargetMaterializeAlloca(const AllocaInst *AI);
291 if (FuncInfo.StaticAllocaMap.count(static_cast<const AllocaInst *>(Obj)) ||
365 const AllocaInst *AI = cast<AllocaInst>(Obj);
366 DenseMap<const AllocaInst*, int>::iterator SI =
2046 unsigned PPCFastISel::TargetMaterializeAlloca(const AllocaInst *AI) {
2053 DenseMap<const AllocaInst*, int>::iterator SI =
/freebsd-10.2-release/contrib/llvm/lib/Analysis/IPA/
H A DInlineCost.cpp121 bool visitAlloca(AllocaInst &I);
289 bool CallAnalyzer::visitAlloca(AllocaInst &I) {
1069 if (isa<AllocaInst>(PtrArg)) {

Completed in 269 milliseconds

1234