Home
last modified time | relevance | path

Searched refs:FirstInst (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp34 auto *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); in PHIArgMergedDebugLoc() local
35 Inst->setDebugLoc(FirstInst->getDebugLoc()); in PHIArgMergedDebugLoc()
296 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); in FoldPHIArgBinOpIntoPHI() local
297 assert(isa<BinaryOperator>(FirstInst) || isa<CmpInst>(FirstInst)); in FoldPHIArgBinOpIntoPHI()
298 unsigned Opc = FirstInst->getOpcode(); in FoldPHIArgBinOpIntoPHI()
299 Value *LHSVal = FirstInst->getOperand(0); in FoldPHIArgBinOpIntoPHI()
300 Value *RHSVal = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI()
317 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate()) in FoldPHIArgBinOpIntoPHI()
334 Value *InLHS = FirstInst->getOperand(0); in FoldPHIArgBinOpIntoPHI()
335 Value *InRHS = FirstInst->getOperand(1); in FoldPHIArgBinOpIntoPHI()
[all …]
DInstCombineLoadStoreAlloca.cpp365 Instruction *FirstInst = EntryBlock.getFirstNonPHIOrDbg(); in visitAllocaInst() local
366 if (FirstInst != &AI) { in visitAllocaInst()
370 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst); in visitAllocaInst()
373 AI.moveBefore(FirstInst); in visitAllocaInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineOutliner.h46 MachineBasicBlock::iterator FirstInst; member
106 MachineBasicBlock::iterator &front() { return FirstInst; } in front()
121 MachineBasicBlock::iterator &FirstInst, in Candidate()
124 : StartIdx(StartIdx), Len(Len), FirstInst(FirstInst), LastInst(LastInst), in Candidate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXLowerArgs.cpp156 Instruction *FirstInst = &(Func->getEntryBlock().front()); in handleByValParam() local
163 AllocaInst *AllocA = new AllocaInst(StructType, AS, Arg->getName(), FirstInst); in handleByValParam()
172 FirstInst); in handleByValParam()
174 new LoadInst(StructType, ArgInParam, Arg->getName(), FirstInst); in handleByValParam()
175 new StoreInst(LI, AllocA, FirstInst); in handleByValParam()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp2121 static Instruction *getFirstInst(Instruction *FirstInst, Value *V, in getFirstInst() argument
2123 if (FirstInst) in getFirstInst()
2124 return FirstInst; in getFirstInst()
2215 Instruction *FirstInst = nullptr; in addRuntimeChecks() local
2248 FirstInst = getFirstInst(FirstInst, Cmp0, Loc); in addRuntimeChecks()
2250 FirstInst = getFirstInst(FirstInst, Cmp1, Loc); in addRuntimeChecks()
2252 FirstInst = getFirstInst(FirstInst, IsConflict, Loc); in addRuntimeChecks()
2256 FirstInst = getFirstInst(FirstInst, IsConflict, Loc); in addRuntimeChecks()
2270 FirstInst = getFirstInst(FirstInst, Check, Loc); in addRuntimeChecks()
2271 return std::make_pair(FirstInst, Check); in addRuntimeChecks()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceCfg.cpp1545 Inst *FirstInst = nullptr; in validateLiveness() local
1549 if (FirstInst == nullptr) in validateLiveness()
1550 FirstInst = &Instr; in validateLiveness()
1564 if (&Instr != FirstInst && !Instr.isDestRedefined() && in validateLiveness()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp347 Instruction &FirstInst = (*BBs.begin())->front(); in findConstantInsertionPoint() local
348 InsertPts.insert(findMatInsertPt(&FirstInst)); in findConstantInsertionPoint()