Searched refs:FirstInst (Results 1 - 8 of 8) sorted by relevance

/external/llvm/lib/Target/NVPTX/
H A DNVPTXLowerStructArgs.cpp61 Instruction *FirstInst = &(Func->getEntryBlock().front()); local
67 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst);
88 Arg->getName(), FirstInst)};
90 CallInst::Create(CvtFunc, BitcastArgs, "cvt_to_param", FirstInst);
94 Arg->getName(), FirstInst);
95 LoadInst *LI = new LoadInst(BitCast, Arg->getName(), FirstInst);
96 new StoreInst(LI, AllocA, FirstInst);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp26 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); local
27 assert(isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst));
28 unsigned Opc = FirstInst->getOpcode();
29 Value *LHSVal = FirstInst->getOperand(0);
30 Value *RHSVal = FirstInst->getOperand(1);
37 dyn_cast<OverflowingBinaryOperator>(FirstInst)) {
41 dyn_cast<PossiblyExactOperator>(FirstInst))
56 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate())
80 Value *InLHS = FirstInst
132 GetElementPtrInst *FirstInst =cast<GetElementPtrInst>(PN.getIncomingValue(0)); local
392 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); local
[all...]
H A DInstCombineLoadStoreAlloca.cpp246 Instruction *FirstInst = EntryBlock.getFirstNonPHIOrDbg(); local
247 if (FirstInst != &AI) {
251 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst);
254 AI.moveBefore(FirstInst);
/external/llvm/utils/TableGen/
H A DAsmWriterEmitter.cpp90 AsmWriterInst FirstInst = Insts.back(); local
96 unsigned DiffOp = Insts[i-1].MatchesAllButOneOp(FirstInst);
110 O << " case " << FirstInst.CGI->Namespace << "::"
111 << FirstInst.CGI->TheDef->getName() << ":\n";
115 for (unsigned i = 0, e = FirstInst.Operands.size(); i != e; ++i) {
118 O << " " << FirstInst.Operands[i].getCode();
124 OpsToPrint.push_back(std::make_pair(FirstInst.CGI->Namespace + "::" +
125 FirstInst.CGI->TheDef->getName(),
126 FirstInst.Operands[i]));
203 const AsmWriterInst *FirstInst local
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600KernelParameters.cpp314 Instruction *FirstInst = Fun->front().begin(); local
315 IRBuilder <> Builder (FirstInst);
340 FirstInst);
344 Arg->getName(), FirstInst);
392 Instruction *FirstInst = Fun->front().begin(); local
396 "resourceID", FirstInst);
/external/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp1206 static Instruction *getFirstInst(Instruction *FirstInst, Value *V,
1208 if (FirstInst)
1209 return FirstInst;
1226 Instruction *FirstInst = nullptr;
1275 FirstInst = getFirstInst(FirstInst, Cmp0, Loc);
1277 FirstInst = getFirstInst(FirstInst, Cmp1, Loc);
1279 FirstInst = getFirstInst(FirstInst, IsConflic
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp264 Instruction &FirstInst = (*BBs.begin())->front(); local
265 return findMatInsertPt(&FirstInst);
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2012 static Instruction *getFirstInst(Instruction *FirstInst, Value *V, argument
2014 if (FirstInst)
2015 return FirstInst;
2031 Instruction *FirstInst = nullptr; local
2039 FirstInst = getFirstInst(FirstInst, C, Loc);
2053 FirstInst = getFirstInst(FirstInst, TheCheck, Loc);
2055 return std::make_pair(FirstInst, TheCheck);

Completed in 302 milliseconds