Home
last modified time | relevance | path

Searched refs:user_back (Results 1 – 25 of 43) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp942 Value *VB = Sub->user_back(); in ShouldBreakUpSubtract()
1928 while (Op->hasOneUse() && Op->user_back()->getOpcode() == Opcode && in EraseInst()
1930 Op = Op->user_back(); in EraseInst()
2084 (isReassociableOp(I->user_back(), Instruction::Mul) || in OptimizeInst()
2085 isReassociableOp(I->user_back(), Instruction::Add)))) { in OptimizeInst()
2128 !isReassociableOp(I->user_back(), Instruction::Mul))) { in OptimizeInst()
2155 !isReassociableOp(I->user_back(), Instruction::FMul))) { in OptimizeInst()
2177 if (BO->hasOneUse() && BO->user_back()->getOpcode() == Opcode) { in OptimizeInst()
2181 if (BO->user_back() != BO && in OptimizeInst()
2182 BO->getParent() == BO->user_back()->getParent()) in OptimizeInst()
[all …]
DTailRecursionElimination.cpp434 if (!I->hasOneUse() || !isa<ReturnInst>(I->user_back())) in canTransformAccumulatorRecursion()
440 return getCommonReturnValue(cast<ReturnInst>(I->user_back()), CI); in canTransformAccumulatorRecursion()
DConstantHoisting.cpp902 assert(isa<Instruction>(Base->user_back()) && in emitBaseConstants()
DIndVarSimplify.cpp346 !isa<BranchInst>(Compare->user_back())) in handleFloatingPointIV()
349 BranchInst *TheBr = cast<BranchInst>(Compare->user_back()); in handleFloatingPointIV()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp102 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in FoldIntegerTypedPHI()
857 if (PHINode *PU = dyn_cast<PHINode>(PN->user_back())) in DeadPHICycle()
1015 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI()
1025 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI()
1165 Instruction *PHIUser = cast<Instruction>(PN.user_back()); in visitPHINode()
1181 PHIUser->user_back() == &PN) { in visitPHINode()
DInstCombineVectorOps.cpp110 if (!PHIUser->hasOneUse() || !(PHIUser->user_back() == PN) || in scalarizePHI()
569 if (InsElt->hasOneUse() && isa<InsertElementInst>(InsElt->user_back())) in replaceExtractElements()
708 User *U = V->user_back(); in visitInsertValueInst()
750 if (InsElt.hasOneUse() && isa<InsertElementInst>(InsElt.user_back())) in foldInsSequenceIntoSplat()
1074 auto *InsertUser = dyn_cast<InsertElementInst>(Insert.user_back()); in visitInsertElementInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h59 Instruction *user_back() { return cast<Instruction>(*user_begin());} in user_back() function
60 const Instruction *user_back() const { return cast<Instruction>(*user_begin());} in user_back() function
DValue.h355 User *user_back() { in user_back() function
359 const User *user_back() const { in user_back() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp192 OrigLoad = cast<LoadInst>(UI->user_back()); in doPromotion()
244 CallSite CS(F->user_back()); in doPromotion()
430 if (LoadInst *LI = dyn_cast<LoadInst>(I->user_back())) { in doPromotion()
439 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I->user_back()); in doPromotion()
469 LoadInst *L = cast<LoadInst>(GEP->user_back()); in doPromotion()
DGlobalOpt.cpp574 User *GEP = GV->user_back(); in SRAGlobal()
875 Instruction *User = cast<Instruction>(CI->user_back()); in OptimizeGlobalAddressOfMalloc()
905 if (StoreInst *SI = dyn_cast<StoreInst>(GV->user_back())) { in OptimizeGlobalAddressOfMalloc()
913 LoadInst *LI = cast<LoadInst>(GV->user_back()); in OptimizeGlobalAddressOfMalloc()
956 cast<StoreInst>(InitBool->user_back())->eraseFromParent(); in OptimizeGlobalAddressOfMalloc()
1049 if (StoreInst *SI = dyn_cast<StoreInst>(GEPI->user_back())) in ReplaceUsesOfMallocWithGlobal()
1710 Instruction *UI = cast<Instruction>(GV->user_back()); in TryToShrinkGlobalToBoolean()
DStripSymbols.cpp259 CallInst *CI = cast<CallInst>(Declare->user_back()); in runOnModule()
DDeadArgumentElimination.cpp879 CallSite CS(F->user_back()); in RemoveDeadStuffFromFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLCSSA.cpp358 (I.hasOneUse() && I.user_back()->getParent() == BB && in formLCSSA()
359 !isa<PHINode>(I.user_back()))) in formLCSSA()
DDemoteRegToStack.cpp58 Instruction *U = cast<Instruction>(I.user_back()); in DemoteRegToStack()
DPromoteMemoryToRegister.cpp511 StoreInst *SI = cast<StoreInst>(AI->user_back()); in promoteSingleBlockAlloca()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstruction.h63 Instruction *user_back() { return cast<Instruction>(*user_begin());}
64 const Instruction *user_back() const { return cast<Instruction>(*user_begin());}
DValue.h406 User *user_back() { in user_back() function
410 const User *user_back() const { in user_back() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp79 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMParallelDSP.cpp365 !Ld->hasOneUse() || !isa<SExtInst>(Ld->user_back())) in RecordMemoryOps()
740 Instruction *BaseSExt = dyn_cast<SExtInst>(Base->user_back()); in CreateWideLoad()
741 Instruction *OffsetSExt = dyn_cast<SExtInst>(Offset->user_back()); in CreateWideLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp271 cast<Instruction>(Inst.user_back())->getParent() == &BB && in lowerAcrossUnwindEdges()
272 !isa<PHINode>(Inst.user_back())) in lowerAcrossUnwindEdges()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DBasicBlock.cpp75 BlockAddress *BA = cast<BlockAddress>(user_back()); in ~BasicBlock()
DConstants.cpp436 Value *V = user_back(); in destroyConstant()
448 assert((use_empty() || user_back() != V) && "Constant not removed!"); in destroyConstant()
589 const Constant *User = dyn_cast<Constant>(C->user_back()); in removeDeadUsersOfConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp537 CallInst *CI = cast<CallInst>(OutlinedFn->user_back()); in CreateParallel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp712 Instruction *I = Phi->user_back(); in isFirstOrderRecurrence()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp561 if (auto BR = dyn_cast<BranchInst>(CMP->user_back())) in IsInterestingCmp()

12