Searched refs:FirstInst (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 26 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); in FoldPHIArgBinOpIntoPHI() local 27 assert(isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst)); in FoldPHIArgBinOpIntoPHI() 28 unsigned Opc = FirstInst->getOpcode(); in FoldPHIArgBinOpIntoPHI() 29 Value *LHSVal = FirstInst->getOperand(0); in FoldPHIArgBinOpIntoPHI() 30 Value *RHSVal = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI() 37 dyn_cast<OverflowingBinaryOperator>(FirstInst)) { in FoldPHIArgBinOpIntoPHI() 41 dyn_cast<PossiblyExactOperator>(FirstInst)) in FoldPHIArgBinOpIntoPHI() 56 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate()) in FoldPHIArgBinOpIntoPHI() 80 Value *InLHS = FirstInst->getOperand(0); in FoldPHIArgBinOpIntoPHI() 81 Value *InRHS = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI() [all …]
|
D | InstCombineLoadStoreAlloca.cpp | 247 Instruction *FirstInst = EntryBlock.getFirstNonPHIOrDbg(); in visitAllocaInst() local 248 if (FirstInst != &AI) { in visitAllocaInst() 252 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst); in visitAllocaInst() 255 AI.moveBefore(FirstInst); in visitAllocaInst()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerKernelArgs.cpp | 145 Instruction *FirstInst = &(Func->getEntryBlock().front()); in handleByValParam() local 151 AllocaInst *AllocA = new AllocaInst(StructType, Arg->getName(), FirstInst); in handleByValParam() 160 FirstInst); in handleByValParam() 161 LoadInst *LI = new LoadInst(ArgInParam, Arg->getName(), FirstInst); in handleByValParam() 162 new StoreInst(LI, AllocA, FirstInst); in handleByValParam()
|
/external/llvm/utils/TableGen/ |
D | AsmWriterEmitter.cpp | 90 AsmWriterInst FirstInst = Insts.back(); in EmitInstructions() local 96 unsigned DiffOp = Insts[i-1].MatchesAllButOneOp(FirstInst); in EmitInstructions() 110 O << " case " << FirstInst.CGI->Namespace << "::" in EmitInstructions() 111 << FirstInst.CGI->TheDef->getName() << ":\n"; in EmitInstructions() 115 for (unsigned i = 0, e = FirstInst.Operands.size(); i != e; ++i) { in EmitInstructions() 118 O << " " << FirstInst.Operands[i].getCode(); in EmitInstructions() 124 OpsToPrint.push_back(std::make_pair(FirstInst.CGI->Namespace + "::" + in EmitInstructions() 125 FirstInst.CGI->TheDef->getName(), in EmitInstructions() 126 FirstInst.Operands[i])); in EmitInstructions() 203 const AsmWriterInst *FirstInst = in FindUniqueOperandCommands() local [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | R600KernelParameters.cpp | 314 Instruction *FirstInst = Fun->front().begin(); in ConstantRead() local 315 IRBuilder <> Builder (FirstInst); in ConstantRead() 340 FirstInst); in ConstantRead() 344 Arg->getName(), FirstInst); in ConstantRead() 392 Instruction *FirstInst = Fun->front().begin(); in handleSpecial() local 396 "resourceID", FirstInst); in handleSpecial()
|
/external/llvm/lib/Analysis/ |
D | LoopAccessAnalysis.cpp | 1607 static Instruction *getFirstInst(Instruction *FirstInst, Value *V, in getFirstInst() argument 1609 if (FirstInst) in getFirstInst() 1610 return FirstInst; in getFirstInst() 1689 Instruction *FirstInst = nullptr; in addRuntimeChecks() local 1714 FirstInst = getFirstInst(FirstInst, Cmp0, Loc); in addRuntimeChecks() 1716 FirstInst = getFirstInst(FirstInst, Cmp1, Loc); in addRuntimeChecks() 1718 FirstInst = getFirstInst(FirstInst, IsConflict, Loc); in addRuntimeChecks() 1722 FirstInst = getFirstInst(FirstInst, IsConflict, Loc); in addRuntimeChecks() 1736 FirstInst = getFirstInst(FirstInst, Check, Loc); in addRuntimeChecks() 1737 return std::make_pair(FirstInst, Check); in addRuntimeChecks()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ConstantHoisting.cpp | 264 Instruction &FirstInst = (*BBs.begin())->front(); in findConstantInsertionPoint() local 265 return findMatInsertPt(&FirstInst); in findConstantInsertionPoint()
|