Home
last modified time | relevance | path

Searched refs:Orig (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp30 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); in LowerAtomicCmpXchgInst() local
31 Value *Equal = Builder.CreateICmpEQ(Orig, Cmp); in LowerAtomicCmpXchgInst()
32 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst()
35 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0); in LowerAtomicCmpXchgInst()
48 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); in LowerAtomicRMWInst() local
57 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
60 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
63 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst()
66 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in LowerAtomicRMWInst()
69 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
[all …]
DLICM.cpp724 auto CreateHoistedBlock = [&](BasicBlock *Orig) { in getOrCreateHoistedBlock() argument
725 if (HoistDestinationMap.count(Orig)) in getOrCreateHoistedBlock()
726 return HoistDestinationMap[Orig]; in getOrCreateHoistedBlock()
728 BasicBlock::Create(C, Orig->getName() + ".licm", Orig->getParent()); in getOrCreateHoistedBlock()
729 HoistDestinationMap[Orig] = New; in getOrCreateHoistedBlock()
735 << " as hoist destination for " << Orig->getName() in getOrCreateHoistedBlock()
/third_party/glslang/Test/
Dhlsl.promote.atomic.frag8 int Orig;
12 // imageAtomicAdd AST will be converted to an int for 'Orig'.
13 InterlockedAdd(s_uintbuff[Loc], Inc, Orig);
/third_party/glslang/Test/baseResults/
Dhlsl.promote.atomic.frag.out9 0:13 'Orig' ( temp int)
43 0:13 'Orig' ( temp int)
79 Name 13 "Orig"
113 13(Orig): 12(ptr) Variable Function
122 Store 13(Orig) 28
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDiagnosticInfo.h634 const DiagnosticInfoIROptimization &Orig) in DiagnosticInfoIROptimization() argument
636 (DiagnosticKind)Orig.getKind(), Orig.getSeverity(), PassName, in DiagnosticInfoIROptimization()
637 Orig.RemarkName, Orig.getFunction(), Orig.getLocation()), in DiagnosticInfoIROptimization()
638 CodeRegion(Orig.getCodeRegion()) { in DiagnosticInfoIROptimization()
640 std::copy(Orig.Args.begin(), Orig.Args.end(), std::back_inserter(Args)); in DiagnosticInfoIROptimization()
778 const OptimizationRemarkAnalysis &Orig) in OptimizationRemarkAnalysis() argument
779 : DiagnosticInfoIROptimization(PassName, Prepend, Orig) {} in OptimizationRemarkAnalysis()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DVirtRegMap.h149 unsigned Orig = getPreSplitReg(VirtReg); in getOriginal() local
150 return Orig ? Orig : VirtReg; in getOriginal()
DMachineInstrBuilder.h464 const MachineInstr &Orig, int FrameIndex);
468 void updateDbgValueForSpill(MachineInstr &Orig, int FrameIndex);
DMachineFunction.h731 MachineInstr *CloneMachineInstr(const MachineInstr *Orig);
739 MachineBasicBlock::iterator InsertBefore, const MachineInstr &Orig);
DTargetInstrInfo.h372 unsigned SubIdx, const MachineInstr &Orig,
382 const MachineInstr &Orig) const;
DMachineBasicBlock.h486 void copySuccessor(MachineBasicBlock *Orig, succ_iterator I);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineInstr.cpp2088 const MachineInstr &Orig, in buildDbgValueForSpill() argument
2090 const DIExpression *Expr = computeExprForSpill(Orig); in buildDbgValueForSpill()
2091 return BuildMI(BB, I, Orig.getDebugLoc(), Orig.getDesc()) in buildDbgValueForSpill()
2094 .addMetadata(Orig.getDebugVariable()) in buildDbgValueForSpill()
2098 void llvm::updateDbgValueForSpill(MachineInstr &Orig, int FrameIndex) { in updateDbgValueForSpill() argument
2099 const DIExpression *Expr = computeExprForSpill(Orig); in updateDbgValueForSpill()
2100 Orig.getOperand(0).ChangeToFrameIndex(FrameIndex); in updateDbgValueForSpill()
2101 Orig.getOperand(1).ChangeToImmediate(0U); in updateDbgValueForSpill()
2102 Orig.getOperand(3).setMetadata(Expr); in updateDbgValueForSpill()
DTargetInstrInfo.cpp412 const MachineInstr &Orig, in reMaterialize() argument
414 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(&Orig); in reMaterialize()
426 MachineBasicBlock::iterator InsertBefore, const MachineInstr &Orig) const { in duplicate()
427 assert(!Orig.isNotDuplicable() && "Instruction cannot be duplicated"); in duplicate()
429 return MF.CloneMachineInstrBundle(MBB, InsertBefore, Orig); in duplicate()
DMachineFunction.cpp351 MachineFunction::CloneMachineInstr(const MachineInstr *Orig) { in CloneMachineInstr() argument
353 MachineInstr(*this, *Orig); in CloneMachineInstr()
357 MachineBasicBlock::iterator InsertBefore, const MachineInstr &Orig) { in CloneMachineInstrBundle() argument
359 MachineBasicBlock::const_instr_iterator I = Orig.getIterator(); in CloneMachineInstrBundle()
DSplitKit.cpp342 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint() local
343 assert(!Orig.empty() && "Splitting empty interval?"); in isOriginalEndpoint()
344 LiveInterval::const_iterator I = Orig.find(Idx); in isOriginalEndpoint()
347 if (I != Orig.end() && I->start <= Idx) in isOriginalEndpoint()
351 return I != Orig.begin() && (--I)->end == Idx; in isOriginalEndpoint()
DMachineBasicBlock.cpp756 void MachineBasicBlock::copySuccessor(MachineBasicBlock *Orig, in copySuccessor() argument
758 if (Orig->Probs.empty()) in copySuccessor()
759 addSuccessor(*I, Orig->getSuccProbability(I)); in copySuccessor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp643 const MachineInstr &Orig, in reMaterialize() argument
645 bool ClobbersEFLAGS = Orig.modifiesRegister(X86::EFLAGS, &TRI); in reMaterialize()
650 switch (Orig.getOpcode()) { in reMaterialize()
658 const DebugLoc &DL = Orig.getDebugLoc(); in reMaterialize()
660 .add(Orig.getOperand(0)) in reMaterialize()
663 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(&Orig); in reMaterialize()
668 NewMI.substituteRegister(Orig.getOperand(0).getReg(), DestReg, SubIdx, TRI); in reMaterialize()
1484 #define VPERM_CASES(Orig, New) \ in getCommutedVPERMV3Opcode() argument
1485 case X86::Orig##128rr: return X86::New##128rr; \ in getCommutedVPERMV3Opcode()
1486 case X86::Orig##128rrkz: return X86::New##128rrkz; \ in getCommutedVPERMV3Opcode()
[all …]
DX86InstrInfo.h212 const MachineInstr &Orig,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h226 const MachineInstr &Orig,
231 const MachineInstr &Orig) const override;
DARMBaseInstrInfo.cpp1692 const MachineInstr &Orig, in reMaterialize() argument
1694 unsigned Opcode = Orig.getOpcode(); in reMaterialize()
1697 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(&Orig); in reMaterialize()
1698 MI->substituteRegister(Orig.getOperand(0).getReg(), DestReg, SubIdx, TRI); in reMaterialize()
1705 unsigned CPI = Orig.getOperand(1).getIndex(); in reMaterialize()
1707 BuildMI(MBB, I, Orig.getDebugLoc(), get(Opcode), DestReg) in reMaterialize()
1710 .cloneMemRefs(Orig); in reMaterialize()
1719 const MachineInstr &Orig) const { in duplicate()
1720 MachineInstr &Cloned = TargetInstrInfo::duplicate(MBB, InsertBefore, Orig); in duplicate()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceCfgNode.cpp622 InstList::iterator Orig = Context.getCur(); in genCode() local
623 if (llvm::isa<InstRet>(*Orig)) in genCode()
627 assert(Context.getCur() != Orig); in genCode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp2038 static void getUsefulBitsFromBFM(SDValue Op, SDValue Orig, APInt &UsefulBits, in getUsefulBitsFromBFM() argument
2062 if (Op.getOperand(1) == Orig) { in getUsefulBitsFromBFM()
2068 if (Op.getOperand(0) == Orig) in getUsefulBitsFromBFM()
2080 if (Op.getOperand(1) == Orig) { in getUsefulBitsFromBFM()
2086 if (Op.getOperand(0) == Orig) in getUsefulBitsFromBFM()
2094 SDValue Orig, unsigned Depth) { in getUsefulBitsForUse() argument
2117 if (UserNode->getOperand(1) != Orig) in getUsefulBitsForUse()
2123 return getUsefulBitsFromBFM(SDValue(UserNode, 0), Orig, UsefulBits, Depth); in getUsefulBitsForUse()
2127 if (UserNode->getOperand(0) != Orig) in getUsefulBitsForUse()
2134 if (UserNode->getOperand(0) != Orig) in getUsefulBitsForUse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp980 BinaryOperator *Orig = cast<BinaryOperator>(Shl); in simplifyShrShlDemandedBits() local
981 New->setHasNoSignedWrap(Orig->hasNoSignedWrap()); in simplifyShrShlDemandedBits()
982 New->setHasNoUnsignedWrap(Orig->hasNoUnsignedWrap()); in simplifyShrShlDemandedBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp841 static T swapToHostOrder(const unsigned char *&D, support::endianness Orig) { in swapToHostOrder() argument
844 if (Orig == little) in swapToHostOrder()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp618 auto GetFramePointer = [&](uint32_t Index, Value *Orig) -> Value * { in insertSpills() argument
624 if (auto *AI = dyn_cast<AllocaInst>(Orig)) { in insertSpills()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp657 void addNewMetadata(Instruction *To, const Instruction *Orig);
910 const Instruction *Orig) { in addNewMetadata() argument
913 if (LVer && (isa<LoadInst>(Orig) || isa<StoreInst>(Orig))) in addNewMetadata()
914 LVer->annotateInstWithNoAlias(To, Orig); in addNewMetadata()

12