/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 292 static Value *simplifyX86immShift(const IntrinsicInst &II, in simplifyX86immShift() argument 297 switch (II.getIntrinsicID()) { in simplifyX86immShift() 363 auto Arg1 = II.getArgOperand(1); in simplifyX86immShift() 390 auto Vec = II.getArgOperand(0); in simplifyX86immShift() 426 static Value *simplifyX86varShift(const IntrinsicInst &II, in simplifyX86varShift() argument 431 switch (II.getIntrinsicID()) { in simplifyX86varShift() 473 auto *CShift = dyn_cast<Constant>(II.getArgOperand(1)); in simplifyX86varShift() 477 auto Vec = II.getArgOperand(0); in simplifyX86varShift() 478 auto VT = cast<VectorType>(II.getType()); in simplifyX86varShift() 550 static Value *simplifyX86pack(IntrinsicInst &II, in simplifyX86pack() argument [all …]
|
D | InstCombineSimplifyDemanded.cpp | 686 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in SimplifyDemandedUseBits() local 687 switch (II->getIntrinsicID()) { in SimplifyDemandedUseBits() 709 NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0), in SimplifyDemandedUseBits() 712 NewVal = BinaryOperator::CreateShl(II->getArgOperand(0), in SimplifyDemandedUseBits() 730 if (II->getIntrinsicID() == Intrinsic::fshr) in SimplifyDemandedUseBits() 755 if (II->getIntrinsicID() == Intrinsic::x86_mmx_pmovmskb) { in SimplifyDemandedUseBits() 758 auto Arg = II->getArgOperand(0); in SimplifyDemandedUseBits() 1001 Value *InstCombiner::simplifyAMDGCNMemoryIntrinsicDemanded(IntrinsicInst *II, in simplifyAMDGCNMemoryIntrinsicDemanded() argument 1007 II->getType()->getScalarSizeInBits() != 32 && in simplifyAMDGCNMemoryIntrinsicDemanded() 1011 unsigned VWidth = II->getType()->getVectorNumElements(); in simplifyAMDGCNMemoryIntrinsicDemanded() [all …]
|
/third_party/json/tests/thirdparty/Fuzzer/ |
D | FuzzerCorpus.h | 46 for (auto II : Inputs) in ~InputCorpus() local 47 delete II; in ~InputCorpus() local 52 for (auto II : Inputs) in SizeInBytes() local 53 Res += II->U.size(); in SizeInBytes() 58 for (auto II : Inputs) in NumActiveUnits() local 59 Res += !II->U.empty(); in NumActiveUnits() 72 InputInfo &II = *Inputs.back(); 73 II.U = U; 74 II.NumFeatures = NumFeatures; 75 II.MayDeleteFile = MayDeleteFile; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LowerInvoke.cpp | 50 if (InvokeInst *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in runImpl() local 51 SmallVector<Value *, 16> CallArgs(II->arg_begin(), II->arg_end()); in runImpl() 53 II->getOperandBundlesAsDefs(OpBundles); in runImpl() 56 CallInst::Create(II->getFunctionType(), II->getCalledValue(), in runImpl() 57 CallArgs, OpBundles, "", II); in runImpl() 58 NewCall->takeName(II); in runImpl() 59 NewCall->setCallingConv(II->getCallingConv()); in runImpl() 60 NewCall->setAttributes(II->getAttributes()); in runImpl() 61 NewCall->setDebugLoc(II->getDebugLoc()); in runImpl() 62 II->replaceAllUsesWith(NewCall); in runImpl() [all …]
|
D | DemoteRegToStack.cpp | 46 if (InvokeInst *II = dyn_cast<InvokeInst>(&I)) { in DemoteRegToStack() local 47 if (!II->getNormalDest()->getSinglePredecessor()) { in DemoteRegToStack() 48 unsigned SuccNum = GetSuccessorNumber(II->getParent(), II->getNormalDest()); in DemoteRegToStack() 49 assert(isCriticalEdge(II, SuccNum) && "Expected a critical edge!"); in DemoteRegToStack() 50 BasicBlock *BB = SplitCriticalEdge(II, SuccNum); in DemoteRegToStack() 99 InvokeInst &II = cast<InvokeInst>(I); in DemoteRegToStack() local 100 InsertPt = II.getNormalDest()->getFirstInsertionPt(); in DemoteRegToStack() 132 if (InvokeInst *II = dyn_cast<InvokeInst>(P->getIncomingValue(i))) { in DemotePHIToStack() local 133 assert(II->getParent() != P->getIncomingBlock(i) && in DemotePHIToStack() 134 "Invoke edge not supported yet"); (void)II; in DemotePHIToStack()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreRegisterInfo.cpp | 61 static void InsertFPImmInst(MachineBasicBlock::iterator II, in InsertFPImmInst() argument 64 MachineInstr &MI = *II; in InsertFPImmInst() 70 BuildMI(MBB, II, dl, TII.get(XCore::LDW_2rus), Reg) in InsertFPImmInst() 76 BuildMI(MBB, II, dl, TII.get(XCore::STW_2rus)) in InsertFPImmInst() 83 BuildMI(MBB, II, dl, TII.get(XCore::LDAWF_l2rus), Reg) in InsertFPImmInst() 92 static void InsertFPConstInst(MachineBasicBlock::iterator II, in InsertFPConstInst() argument 97 MachineInstr &MI = *II; in InsertFPConstInst() 100 unsigned ScratchOffset = RS->scavengeRegister(&XCore::GRRegsRegClass, II, 0); in InsertFPConstInst() 102 TII.loadImmediate(MBB, II, ScratchOffset, Offset); in InsertFPConstInst() 106 BuildMI(MBB, II, dl, TII.get(XCore::LDW_3r), Reg) in InsertFPConstInst() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerConstantIntrinsics.cpp | 43 static Value *lowerIsConstantIntrinsic(IntrinsicInst *II) { in lowerIsConstantIntrinsic() argument 44 Value *Op = II->getOperand(0); in lowerIsConstantIntrinsic() 46 return isa<Constant>(Op) ? ConstantInt::getTrue(II->getType()) in lowerIsConstantIntrinsic() 47 : ConstantInt::getFalse(II->getType()); in lowerIsConstantIntrinsic() 50 static bool replaceConditionalBranchesOnConstant(Instruction *II, in replaceConditionalBranchesOnConstant() argument 54 replaceAndRecursivelySimplify(II, NewValue, nullptr, nullptr, nullptr, in replaceConditionalBranchesOnConstant() 94 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&I); in lowerConstantIntrinsics() local 95 if (!II) in lowerConstantIntrinsics() 97 switch (II->getIntrinsicID()) { in lowerConstantIntrinsics() 113 IntrinsicInst *II = dyn_cast<IntrinsicInst>(&*VH); in lowerConstantIntrinsics() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCRegisterInfo.cpp | 493 void PPCRegisterInfo::lowerDynamicAlloc(MachineBasicBlock::iterator II) const { in lowerDynamicAlloc() 495 MachineInstr &MI = *II; in lowerDynamicAlloc() 533 BuildMI(MBB, II, dl, TII.get(PPC::ADDI8), Reg) in lowerDynamicAlloc() 537 BuildMI(MBB, II, dl, TII.get(PPC::ADDI), Reg) in lowerDynamicAlloc() 541 BuildMI(MBB, II, dl, TII.get(PPC::LD), Reg) in lowerDynamicAlloc() 545 BuildMI(MBB, II, dl, TII.get(PPC::LWZ), Reg) in lowerDynamicAlloc() 562 BuildMI(MBB, II, dl, TII.get(PPC::LI8), NegSizeReg) in lowerDynamicAlloc() 567 BuildMI(MBB, II, dl, TII.get(PPC::AND8), NegSizeReg) in lowerDynamicAlloc() 573 BuildMI(MBB, II, dl, TII.get(PPC::STDUX), PPC::X1) in lowerDynamicAlloc() 577 BuildMI(MBB, II, dl, TII.get(PPC::ADDI8), MI.getOperand(0).getReg()) in lowerDynamicAlloc() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MIRCanonicalizerPass.cpp | 104 for (auto *II : instructions) { in rescheduleLexographically() local 107 II->print(OS); in rescheduleLexographically() 112 StringInstrMap.push_back({(i == std::string::npos) ? S : S.substr(i), II}); in rescheduleLexographically() 120 for (auto &II : StringInstrMap) { in rescheduleLexographically() local 124 II.second->dump(); in rescheduleLexographically() 130 MBB->splice(getPos(), MBB, II.second); in rescheduleLexographically() 164 for (auto *II : Instructions) { in rescheduleCanonically() local 165 for (unsigned i = 1; i < II->getNumOperands(); i++) { in rescheduleCanonically() 166 MachineOperand &MO = II->getOperand(i); in rescheduleCanonically() 180 for (auto *II : Instructions) { in rescheduleCanonically() local [all …]
|
D | ExpandReductions.cpp | 83 if (auto *II = dyn_cast<IntrinsicInst>(&I)) { in expandReductions() local 84 switch (II->getIntrinsicID()) { in expandReductions() 99 if (TTI->shouldExpandReduction(II)) in expandReductions() 100 Worklist.push_back(II); in expandReductions() 107 for (auto *II : Worklist) { in expandReductions() local 109 isa<FPMathOperator>(II) ? II->getFastMathFlags() : FastMathFlags{}; in expandReductions() 110 Intrinsic::ID ID = II->getIntrinsicID(); in expandReductions() 114 IRBuilder<> Builder(II); in expandReductions() 123 Value *Acc = II->getArgOperand(0); in expandReductions() 124 Value *Vec = II->getArgOperand(1); in expandReductions() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | controlFlowSelfReferentialLoop.js | 18 function II(a,b,c,d,x,s,ac) { class 83 a=II(a,b,c,d,x[k+0], S41,0xF4292244); 84 d=II(d,a,b,c,x[k+7], S42,0x432AFF97); 85 c=II(c,d,a,b,x[k+14],S43,0xAB9423A7); 86 b=II(b,c,d,a,x[k+5], S44,0xFC93A039); 87 a=II(a,b,c,d,x[k+12],S41,0x655B59C3); 88 d=II(d,a,b,c,x[k+3], S42,0x8F0CCC92); 89 c=II(c,d,a,b,x[k+10],S43,0xFFEFF47D); 90 b=II(b,c,d,a,x[k+1], S44,0x85845DD1); 91 a=II(a,b,c,d,x[k+8], S41,0x6FA87E4F); [all …]
|
D | systemModule17.symbols | 30 import II = N.I; 31 >II : Symbol(II, Decl(f2.ts, 8, 16)) 33 >I : Symbol(II, Decl(f2.ts, 4, 18)) 84 export {II}; 85 >II : Symbol(II, Decl(f2.ts, 30, 8)) 87 export {II as II1}; 88 >II : Symbol(II, Decl(f2.ts, 8, 16))
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | CallSite.h | 64 CallSiteBase(InvokeTy *II) : I(II, 0) { assert(II); } in CallSiteBase() argument 66 explicit CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase() argument 74 if (InstrTy *II = dyn_cast<InstrTy>(V)) { in get() local 75 if (II->getOpcode() == Instruction::Call) in get() 76 return CallSiteBase(static_cast<CallTy*>(II)); in get() 77 if (II->getOpcode() == Instruction::Invoke) in get() 78 return CallSiteBase(static_cast<InvokeTy*>(II)); in get() 79 if (II->getOpcode() == Instruction::CallBr) in get() 80 return CallSiteBase(static_cast<CallBrTy *>(II)); in get() 289 InstrTy *II = getInstruction(); \ [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/ |
D | CoroCleanup.cpp | 62 if (auto *II = dyn_cast<IntrinsicInst>(&I)) { in lowerRemainingCoroIntrinsics() local 63 switch (II->getIntrinsicID()) { in lowerRemainingCoroIntrinsics() 67 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics() 70 II->replaceAllUsesWith(II->getArgOperand(1)); in lowerRemainingCoroIntrinsics() 73 II->replaceAllUsesWith(ConstantInt::getTrue(Context)); in lowerRemainingCoroIntrinsics() 78 II->replaceAllUsesWith(ConstantTokenNone::get(Context)); in lowerRemainingCoroIntrinsics() 81 lowerSubFn(Builder, cast<CoroSubFnInst>(II)); in lowerRemainingCoroIntrinsics() 84 II->eraseFromParent(); in lowerRemainingCoroIntrinsics()
|
D | CoroEarly.cpp | 33 void lowerCoroDone(IntrinsicInst *II); 34 void lowerCoroNoop(IntrinsicInst *II); 90 void Lowerer::lowerCoroDone(IntrinsicInst *II) { in lowerCoroDone() argument 91 Value *Operand = II->getArgOperand(0); in lowerCoroDone() 99 Builder.SetInsertPoint(II); in lowerCoroDone() 104 II->replaceAllUsesWith(Cond); in lowerCoroDone() 105 II->eraseFromParent(); in lowerCoroDone() 108 void Lowerer::lowerCoroNoop(IntrinsicInst *II) { in lowerCoroNoop() argument 111 Module &M = *II->getModule(); in lowerCoroNoop() 137 Builder.SetInsertPoint(II); in lowerCoroNoop() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.cpp | 24 static bool readsThreadIndex(const IntrinsicInst *II) { in readsThreadIndex() argument 25 switch (II->getIntrinsicID()) { in readsThreadIndex() 34 static bool readsLaneId(const IntrinsicInst *II) { in readsLaneId() argument 35 return II->getIntrinsicID() == Intrinsic::nvvm_read_ptx_sreg_laneid; in readsLaneId() 39 static bool isNVVMAtomic(const IntrinsicInst *II) { in isNVVMAtomic() argument 40 switch (II->getIntrinsicID()) { in isNVVMAtomic() 95 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { in isSourceOfDivergence() local 97 if (readsThreadIndex(II) || readsLaneId(II)) in isSourceOfDivergence() 101 if (isNVVMAtomic(II)) in isSourceOfDivergence()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMTargetStreamer.cpp | 60 for (unsigned II = 0, IE = Size; II != IE; II++) { in emitInst() local 61 const unsigned I = LittleEndian ? (Size - II - 1) : II; in emitInst() 62 Buffer[Size - II - 1] = uint8_t(Inst >> I * CHAR_BIT); in emitInst() 72 for (unsigned II = 0, IE = Size; II != IE; II = II + 2) { in emitInst() local 73 const unsigned I0 = LittleEndian ? II + 0 : II + 1; in emitInst() 74 const unsigned I1 = LittleEndian ? II + 1 : II + 0; in emitInst() 75 Buffer[Size - II - 2] = uint8_t(Inst >> I0 * CHAR_BIT); in emitInst() 76 Buffer[Size - II - 1] = uint8_t(Inst >> I1 * CHAR_BIT); in emitInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRRegisterInfo.cpp | 98 static void foldFrameOffset(MachineBasicBlock::iterator &II, int &Offset, unsigned DstReg) { in foldFrameOffset() argument 99 MachineInstr &MI = *II; in foldFrameOffset() 124 II++; in foldFrameOffset() 128 void AVRRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II, in eliminateFrameIndex() argument 133 MachineInstr &MI = *II; in eliminateFrameIndex() 164 II++; // Skip over the FRMIDX (and now MOVW) instruction. in eliminateFrameIndex() 174 if (II != MBB.end()) in eliminateFrameIndex() 175 foldFrameOffset(II, Offset, DstReg); in eliminateFrameIndex() 196 MachineInstr *New = BuildMI(MBB, II, dl, TII.get(Opcode), DstReg) in eliminateFrameIndex() 222 BuildMI(MBB, II, dl, TII.get(AVR::INRdA), AVR::R0).addImm(0x3f); in eliminateFrameIndex() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCRegisterInfo.cpp | 38 static void ReplaceFrameIndex(MachineBasicBlock::iterator II, in ReplaceFrameIndex() argument 43 MachineInstr &MI = *II; in ReplaceFrameIndex() 50 BuildMI(MBB, II, dl, TII.get(ARC::LD_rlimm), Reg) in ReplaceFrameIndex() 54 MBB.erase(II); in ReplaceFrameIndex() 66 BaseReg = RS->scavengeRegister(&ARC::GPR32RegClass, II, SPAdj); in ReplaceFrameIndex() 75 BuildMI(MBB, II, dl, TII.get(AddOpc)) in ReplaceFrameIndex() 93 BuildMI(MBB, II, dl, TII.get(MI.getOpcode()), Reg) in ReplaceFrameIndex() 106 BuildMI(MBB, II, dl, TII.get(MI.getOpcode())) in ReplaceFrameIndex() 114 BuildMI(MBB, II, dl, in ReplaceFrameIndex() 125 MBB.erase(II); in ReplaceFrameIndex() [all …]
|
/third_party/typescript/tests/cases/compiler/ |
D | controlFlowSelfReferentialLoop.ts | 19 function II(a,b,c,d,x,s,ac) { 84 a=II(a,b,c,d,x[k+0], S41,0xF4292244); 85 d=II(d,a,b,c,x[k+7], S42,0x432AFF97); 86 c=II(c,d,a,b,x[k+14],S43,0xAB9423A7); 87 b=II(b,c,d,a,x[k+5], S44,0xFC93A039); 88 a=II(a,b,c,d,x[k+12],S41,0x655B59C3); 89 d=II(d,a,b,c,x[k+3], S42,0x8F0CCC92); 90 c=II(c,d,a,b,x[k+10],S43,0xFFEFF47D); 91 b=II(b,c,d,a,x[k+1], S44,0x85845DD1); 92 a=II(a,b,c,d,x[k+8], S41,0x6FA87E4F); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | InstrEmitter.cpp | 132 const MCInstrDesc &II = TII->get(User->getMachineOpcode()); in EmitCopyFromReg() local 134 if (i+II.getNumDefs() < II.getNumOperands()) { in EmitCopyFromReg() 136 TII->getRegClass(II, i+II.getNumDefs(), TRI, *MF)); in EmitCopyFromReg() 191 const MCInstrDesc &II, in CreateVirtualRegisters() argument 198 for (unsigned i = 0; i < II.getNumDefs(); ++i) { in CreateVirtualRegisters() 204 TRI->getAllocatableClass(TII->getRegClass(II, i, TRI, *MF)); in CreateVirtualRegisters() 219 if (II.OpInfo[i].isOptionalDef()) { in CreateVirtualRegisters() 294 const MCInstrDesc *II, in AddRegisterOperand() argument 311 if (II) { in AddRegisterOperand() 313 if (IIOpNum < II->getNumOperands()) in AddRegisterOperand() [all …]
|
D | FastISel.cpp | 1320 if (const auto *II = dyn_cast<IntrinsicInst>(Call)) in selectCall() local 1321 return selectIntrinsicCall(II); in selectCall() 1335 bool FastISel::selectIntrinsicCall(const IntrinsicInst *II) { in selectIntrinsicCall() argument 1336 switch (II->getIntrinsicID()) { in selectIntrinsicCall() 1350 const DbgDeclareInst *DI = cast<DbgDeclareInst>(II); in selectIntrinsicCall() 1408 const DbgValueInst *DI = cast<DbgValueInst>(II); in selectIntrinsicCall() 1409 const MCInstrDesc &II = TII.get(TargetOpcode::DBG_VALUE); in selectIntrinsicCall() local 1416 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, false, 0U, in selectIntrinsicCall() 1420 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in selectIntrinsicCall() 1426 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II) in selectIntrinsicCall() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/ |
D | InlineInfo.cpp | 21 raw_ostream &llvm::gsym::operator<<(raw_ostream &OS, const InlineInfo &II) { in operator <<() argument 22 if (!II.isValid()) in operator <<() 25 for (auto Range : II.Ranges) { in operator <<() 32 OS << " Name = " << HEX32(II.Name) << ", CallFile = " << II.CallFile in operator <<() 33 << ", CallLine = " << II.CallFile << '\n'; in operator <<() 34 for (const auto &Child : II.Children) in operator <<() 39 static bool getInlineStackHelper(const InlineInfo &II, uint64_t Addr, in getInlineStackHelper() argument 41 if (II.Ranges.contains(Addr)) { in getInlineStackHelper() 45 if (II.Name != 0) in getInlineStackHelper() 46 InlineStack.insert(InlineStack.begin(), &II); in getInlineStackHelper() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | OrderedBasicBlock.cpp | 43 auto II = BB->begin(); in comesBefore() local 46 II = std::next(LastInstFound); in comesBefore() 49 for (; II != IE; ++II) { in comesBefore() 50 Inst = cast<Instruction>(II); in comesBefore() 56 assert(II != IE && "Instruction not found?"); in comesBefore() 58 LastInstFound = II; in comesBefore()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIWholeQuadMode.cpp | 252 InstrInfo &II = Instructions[&MI]; in markInstruction() local 260 Flag &= ~II.Disabled; in markInstruction() 264 if ((II.Needs & Flag) == Flag) in markInstruction() 267 II.Needs |= Flag; in markInstruction() 328 for (auto II = MBB.begin(), IE = MBB.end(); II != IE; ++II) { in scanInstructions() local 329 MachineInstr &MI = *II; in scanInstructions() 431 InstrInfo II = Instructions[&MI]; // take a copy to prevent dangling references in propagateInstruction() local 436 if ((II.OutNeeds & StateWQM) && !(II.Disabled & StateWQM) && in propagateInstruction() 439 II.Needs = StateWQM; in propagateInstruction() 443 if (II.Needs & StateWQM) { in propagateInstruction() [all …]
|