/external/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/ |
D | Instruction.cpp | 21 void WriteState::writeStartEvent(unsigned IID, MCPhysReg RegID, in writeStartEvent() argument 23 CRD.IID = IID; in writeStartEvent() 30 void ReadState::writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles) { in writeStartEvent() argument 41 CRD.IID = IID; in writeStartEvent() 53 void WriteState::onInstructionIssued(unsigned IID) { in onInstructionIssued() argument 63 RS->writeStartEvent(IID, RegisterID, ReadCycles); in onInstructionIssued() 68 PartialWrite->writeStartEvent(IID, RegisterID, CyclesLeft); in onInstructionIssued() 71 void WriteState::addUser(unsigned IID, ReadState *User, int ReadAdvance) { in addUser() argument 77 User->writeStartEvent(IID, RegisterID, ReadCycles); in addUser() 84 void WriteState::addUser(unsigned IID, WriteState *User) { in addUser() argument [all …]
|
/external/llvm-project/llvm/lib/MCA/ |
D | Instruction.cpp | 21 void WriteState::writeStartEvent(unsigned IID, MCPhysReg RegID, in writeStartEvent() argument 23 CRD.IID = IID; in writeStartEvent() 30 void ReadState::writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles) { in writeStartEvent() argument 41 CRD.IID = IID; in writeStartEvent() 53 void WriteState::onInstructionIssued(unsigned IID) { in onInstructionIssued() argument 63 RS->writeStartEvent(IID, RegisterID, ReadCycles); in onInstructionIssued() 68 PartialWrite->writeStartEvent(IID, RegisterID, CyclesLeft); in onInstructionIssued() 71 void WriteState::addUser(unsigned IID, ReadState *User, int ReadAdvance) { in addUser() argument 77 User->writeStartEvent(IID, RegisterID, ReadCycles); in addUser() 84 void WriteState::addUser(unsigned IID, WriteState *User) { in addUser() argument [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 40 static bool UpgradePTESTIntrinsic(Function* F, Intrinsic::ID IID, in UpgradePTESTIntrinsic() argument 50 NewFn = Intrinsic::getDeclaration(F->getParent(), IID); in UpgradePTESTIntrinsic() 56 static bool UpgradeX86IntrinsicsWith8BitMask(Function *F, Intrinsic::ID IID, in UpgradeX86IntrinsicsWith8BitMask() argument 66 NewFn = Intrinsic::getDeclaration(F->getParent(), IID); in UpgradeX86IntrinsicsWith8BitMask() 763 Intrinsic::ID IID = StringSwitch<Intrinsic::ID>(Name) in UpgradeIntrinsicFunction1() local 768 if (IID != Intrinsic::not_intrinsic && F->arg_size() == 1) { in UpgradeIntrinsicFunction1() 769 NewFn = Intrinsic::getDeclaration(F->getParent(), IID, in UpgradeIntrinsicFunction1() 1059 Intrinsic::ID IID; in UpgradeX86VPERMT2Intrinsics() local 1061 IID = Intrinsic::x86_avx512_vpermi2var_ps_128; in UpgradeX86VPERMT2Intrinsics() 1063 IID = Intrinsic::x86_avx512_vpermi2var_d_128; in UpgradeX86VPERMT2Intrinsics() [all …]
|
/external/llvm-project/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 42 static bool UpgradePTESTIntrinsic(Function* F, Intrinsic::ID IID, in UpgradePTESTIntrinsic() argument 52 NewFn = Intrinsic::getDeclaration(F->getParent(), IID); in UpgradePTESTIntrinsic() 58 static bool UpgradeX86IntrinsicsWith8BitMask(Function *F, Intrinsic::ID IID, in UpgradeX86IntrinsicsWith8BitMask() argument 68 NewFn = Intrinsic::getDeclaration(F->getParent(), IID); in UpgradeX86IntrinsicsWith8BitMask() 74 static bool UpgradeX86MaskedFPCompare(Function *F, Intrinsic::ID IID, in UpgradeX86MaskedFPCompare() argument 81 NewFn = Intrinsic::getDeclaration(F->getParent(), IID); in UpgradeX86MaskedFPCompare() 642 Intrinsic::ID IID = in UpgradeIntrinsicFunction1() local 651 if (IID == Intrinsic::not_intrinsic) in UpgradeIntrinsicFunction1() 662 NewFn = Intrinsic::getDeclaration(F->getParent(), IID, Tys); in UpgradeIntrinsicFunction1() 671 Intrinsic::ID IID = in UpgradeIntrinsicFunction1() local [all …]
|
/external/llvm-project/llvm/tools/llvm-mca/Views/ |
D | BottleneckAnalysis.cpp | 60 void PressureTracker::onInstructionDispatched(unsigned IID) { in onInstructionDispatched() argument 61 IPI.insert(std::make_pair(IID, InstructionPressureInfo())); in onInstructionDispatched() 64 void PressureTracker::onInstructionExecuted(unsigned IID) { IPI.erase(IID); } in onInstructionExecuted() argument 68 unsigned IID = Event.IR.getSourceIndex(); in handleInstructionIssuedEvent() local 75 ResourceUsers[Index] = std::make_pair(IID, Use.second.getNumerator()); in handleInstructionIssuedEvent() 124 unsigned IID = IR.getSourceIndex(); in handlePressureEvent() local 125 IPI[IID].ResourcePressureCycles++; in handlePressureEvent() 132 unsigned IID = IR.getSourceIndex(); in handlePressureEvent() local 133 IPI[IID].RegisterPressureCycles++; in handlePressureEvent() 139 unsigned IID = IR.getSourceIndex(); in handlePressureEvent() local [all …]
|
D | BottleneckAnalysis.h | 147 unsigned getRegisterPressureCycles(unsigned IID) const { in getRegisterPressureCycles() argument 148 assert(IPI.find(IID) != IPI.end() && "Instruction is not tracked!"); in getRegisterPressureCycles() 149 const InstructionPressureInfo &Info = IPI.find(IID)->second; in getRegisterPressureCycles() 153 unsigned getMemoryPressureCycles(unsigned IID) const { in getMemoryPressureCycles() argument 154 assert(IPI.find(IID) != IPI.end() && "Instruction is not tracked!"); in getMemoryPressureCycles() 155 const InstructionPressureInfo &Info = IPI.find(IID)->second; in getMemoryPressureCycles() 159 unsigned getResourcePressureCycles(unsigned IID) const { in getResourcePressureCycles() argument 160 assert(IPI.find(IID) != IPI.end() && "Instruction is not tracked!"); in getResourcePressureCycles() 161 const InstructionPressureInfo &Info = IPI.find(IID)->second; in getResourcePressureCycles() 172 void onInstructionDispatched(unsigned IID); [all …]
|
D | TimelineView.cpp | 187 unsigned IID = 0; in printAverageWaitTimes() local 189 printWaitTimeEntry(FOS, WaitTime[IID], IID, Executions); in printAverageWaitTimes() 192 ++IID; in printAverageWaitTimes() 207 printWaitTimeEntry(FOS, TotalWaitTime, IID, Executions); in printAverageWaitTimes() 282 unsigned IID = 0; in printTimeline() local 287 const TimelineViewEntry &Entry = Timeline[IID]; in printTimeline() 291 unsigned SourceIndex = IID % Source.size(); in printTimeline() 296 ++IID; in printTimeline()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | MSVCSetupApi.h | 127 EXTERN_C const IID IID_ISetupInstance; 225 EXTERN_C const IID IID_ISetupInstance2; 276 EXTERN_C const IID IID_IEnumSetupInstances; 327 EXTERN_C const IID IID_ISetupConfiguration; 364 EXTERN_C const IID IID_ISetupConfiguration2; 382 EXTERN_C const IID IID_ISetupPackageReference; 445 EXTERN_C const IID IID_ISetupHelper;
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | FixedPointBuilder.h | 177 Intrinsic::ID IID = UseSigned ? Intrinsic::sadd_sat : Intrinsic::uadd_sat; in CreateAdd() local 178 Result = B.CreateBinaryIntrinsic(IID, WideLHS, WideRHS); in CreateAdd() 203 Intrinsic::ID IID = UseSigned ? Intrinsic::ssub_sat : Intrinsic::usub_sat; in CreateSub() local 204 Result = B.CreateBinaryIntrinsic(IID, WideLHS, WideRHS); in CreateSub() 235 Intrinsic::ID IID; in CreateMul() local 237 IID = UseSigned ? Intrinsic::smul_fix_sat : Intrinsic::umul_fix_sat; in CreateMul() 239 IID = UseSigned ? Intrinsic::smul_fix : Intrinsic::umul_fix; in CreateMul() 242 IID, {WideLHS->getType()}, in CreateMul() 263 Intrinsic::ID IID; in CreateDiv() local 265 IID = UseSigned ? Intrinsic::sdiv_fix_sat : Intrinsic::udiv_fix_sat; in CreateDiv() [all …]
|
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 121 Intrinsic::ID IID = matchFunnelShift(P0, ShVal0, ShVal1, ShAmt); in foldGuardedRotateToFunnelShift() local 122 if (IID == Intrinsic::not_intrinsic || ShVal0 != ShVal1 || ShVal0 != P1) { in foldGuardedRotateToFunnelShift() 123 IID = matchFunnelShift(P1, ShVal0, ShVal1, ShAmt); in foldGuardedRotateToFunnelShift() 124 if (IID == Intrinsic::not_intrinsic || ShVal0 != ShVal1 || ShVal0 != P0) in foldGuardedRotateToFunnelShift() 126 assert((IID == Intrinsic::fshl || IID == Intrinsic::fshr) && in foldGuardedRotateToFunnelShift() 162 Function *F = Intrinsic::getDeclaration(Phi.getModule(), IID, Phi.getType()); in foldGuardedRotateToFunnelShift()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/ |
D | AggressiveInstCombine.cpp | 110 Intrinsic::ID IID = matchRotate(P0, RotSrc, RotAmt); in foldGuardedRotateToFunnelShift() local 111 if (IID == Intrinsic::not_intrinsic || RotSrc != P1) { in foldGuardedRotateToFunnelShift() 112 IID = matchRotate(P1, RotSrc, RotAmt); in foldGuardedRotateToFunnelShift() 113 if (IID == Intrinsic::not_intrinsic || RotSrc != P0) in foldGuardedRotateToFunnelShift() 115 assert((IID == Intrinsic::fshl || IID == Intrinsic::fshr) && in foldGuardedRotateToFunnelShift() 149 Function *F = Intrinsic::getDeclaration(Phi.getModule(), IID, Phi.getType()); in foldGuardedRotateToFunnelShift()
|
/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 165 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 167 return BaseT::getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() 170 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 172 if (IID == Intrinsic::cttz) { in getIntrinsicCost() 178 if (IID == Intrinsic::ctlz) { in getIntrinsicCost() 184 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys); in getIntrinsicCost() 673 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicInstrCost() argument 675 switch (IID) { in getIntrinsicInstrCost() 680 return static_cast<T *>(this)->getIntrinsicInstrCost(IID, RetTy, Types, in getIntrinsicInstrCost() 706 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicInstrCost() argument [all …]
|
/external/llvm-project/clang/test/SemaCXX/ |
D | ms-iunknown-template-function.cpp | 11 typedef GUID IID; typedef 23 const IID &riid,
|
/external/llvm-project/llvm/include/llvm/MCA/ |
D | Instruction.h | 88 unsigned IID; member 175 void addUser(unsigned IID, ReadState *Use, int ReadAdvance); 179 void addUser(unsigned IID, WriteState *Use); 204 void writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles); 216 void onInstructionIssued(unsigned IID); 276 void writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles); 515 void execute(unsigned IID);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/ |
D | Instruction.h | 88 unsigned IID; member 175 void addUser(unsigned IID, ReadState *Use, int ReadAdvance); 179 void addUser(unsigned IID, WriteState *Use); 204 void writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles); 216 void onInstructionIssued(unsigned IID); 276 void writeStartEvent(unsigned IID, MCPhysReg RegID, unsigned Cycles); 515 void execute(unsigned IID);
|
/external/llvm-project/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetTransformInfo.cpp | 142 Optional<Intrinsic::ID> IID; in simplifyNvvmIntrinsic() member 151 SimplifyAction(Intrinsic::ID IID, FtzRequirementTy FtzReq) in simplifyNvvmIntrinsic() 152 : IID(IID), FtzRequirement(FtzReq) {} in simplifyNvvmIntrinsic() 330 if (Action.IID) { in simplifyNvvmIntrinsic() 336 Intrinsic::getDeclaration(II->getModule(), *Action.IID, Tys), Args); in simplifyNvvmIntrinsic()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 220 Intrinsic::ID IID) const { in collectFlatAddressOperands() argument 306 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 308 return BaseT::getIntrinsicCost(IID, RetTy, Arguments, U); in getIntrinsicCost() 311 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 313 if (IID == Intrinsic::cttz) { in getIntrinsicCost() 319 if (IID == Intrinsic::ctlz) { in getIntrinsicCost() 325 return BaseT::getIntrinsicCost(IID, RetTy, ParamTys, U); in getIntrinsicCost() 1071 unsigned getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, 1078 switch (IID) { 1102 return ConcreteTTI->getIntrinsicInstrCost(IID, RetTy, Types, FMF, [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetIntrinsicInfo.h | 43 virtual std::string getName(unsigned IID, Type **Tys = nullptr, 54 virtual bool isOverloaded(unsigned IID) const = 0;
|
/external/llvm-project/llvm/include/llvm/Target/ |
D | TargetIntrinsicInfo.h | 42 virtual std::string getName(unsigned IID, Type **Tys = nullptr, 57 virtual bool isOverloaded(unsigned IID) const = 0;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/ |
D | TargetIntrinsicInfo.h | 43 virtual std::string getName(unsigned IID, Type **Tys = nullptr, 58 virtual bool isOverloaded(unsigned IID) const = 0;
|
/external/llvm/include/llvm/Analysis/ |
D | TargetTransformInfo.h | 180 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 186 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 415 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, 640 virtual int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 642 virtual int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, 683 virtual int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, 774 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 776 return Impl.getIntrinsicCost(IID, RetTy, ParamTys); in getIntrinsicCost() 778 int getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 780 return Impl.getIntrinsicCost(IID, RetTy, Arguments); in getIntrinsicCost() [all …]
|
D | TargetTransformInfoImpl.h | 133 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 135 switch (IID) { in getIntrinsicCost() 272 unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost() argument 413 if (Intrinsic::ID IID = F->getIntrinsicID()) { in getCallCost() local 417 ->getIntrinsicCost(IID, FTy->getReturnType(), ParamTys); in getCallCost() 491 unsigned getIntrinsicCost(Intrinsic::ID IID, Type *RetTy, in getIntrinsicCost() argument 500 return static_cast<T *>(this)->getIntrinsicCost(IID, RetTy, ParamTys); in getIntrinsicCost()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.h | 83 int getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, 85 int getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy, 95 int getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm,
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86InsertPrefetch.cpp | 129 unsigned IID = 0; in findPrefetchInfo() local 133 IID = HintType.second; in findPrefetchInfo() 137 if (IID == 0) in findPrefetchInfo() 144 Prefetches[index] = {IID, D}; in findPrefetchInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InsertPrefetch.cpp | 129 unsigned IID = 0; in findPrefetchInfo() local 133 IID = HintType.second; in findPrefetchInfo() 137 if (IID == 0) in findPrefetchInfo() 144 Prefetches[index] = {IID, D}; in findPrefetchInfo()
|