/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | MachineInstrBundle.h | 98 MachineInstr::mop_iterator OpI, OpE; variable 103 while (OpI == OpE) { in advance() 109 OpI = InstrI->operands_begin(); in advance() 123 OpI = InstrI->operands_begin(); in MIBundleOperandIteratorBase() 132 : InstrI(InstrE), InstrE(InstrE), OpI(OpE), OpE(OpE) {} in MIBundleOperandIteratorBase() 136 bool isValid() const { return OpI != OpE; } in isValid() 141 ++OpI; 145 ValueT &operator*() const { return *OpI; } 146 ValueT *operator->() const { return &*OpI; } 153 (OpI == Arg.OpI || (OpI == OpE && Arg.OpI == Arg.OpE)); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineInstrBundle.h | 98 MachineInstr::mop_iterator OpI, OpE; variable 103 while (OpI == OpE) { in advance() 109 OpI = InstrI->operands_begin(); in advance() 123 OpI = InstrI->operands_begin(); in MIBundleOperandIteratorBase() 132 : InstrI(InstrE), InstrE(InstrE), OpI(OpE), OpE(OpE) {} in MIBundleOperandIteratorBase() 136 bool isValid() const { return OpI != OpE; } in isValid() 141 ++OpI; 145 ValueT &operator*() const { return *OpI; } 146 ValueT *operator->() const { return &*OpI; } 153 (OpI == Arg.OpI || (OpI == OpE && Arg.OpI == Arg.OpE)); [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SpeculateAroundPHIs.cpp | 99 auto *OpI = dyn_cast<Instruction>(*OpIt); in isSafeToSpeculatePHIUsers() local 103 if (!OpI) in isSafeToSpeculatePHIUsers() 116 auto *ParentBB = OpI->getParent(); in isSafeToSpeculatePHIUsers() 118 if (isa<PHINode>(OpI)) { in isSafeToSpeculatePHIUsers() 129 if (PotentialSpecSet.count(OpI)) in isSafeToSpeculatePHIUsers() 134 if (UnsafeSet.count(OpI) || ParentBB != PhiBB || in isSafeToSpeculatePHIUsers() 135 mayBeMemoryDependent(*OpI)) { in isSafeToSpeculatePHIUsers() 137 << *OpI << "\n"); in isSafeToSpeculatePHIUsers() 140 UnsafeSet.insert(OpI); in isSafeToSpeculatePHIUsers() 149 if (!Visited.insert(OpI).second) in isSafeToSpeculatePHIUsers() [all …]
|
D | DCE.cpp | 110 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in DCEInstruction() local 111 if (isInstructionTriviallyDead(OpI, TLI)) in DCEInstruction() 112 WorkList.insert(OpI); in DCEInstruction()
|
D | LoopUnrollPass.cpp | 425 if (auto *OpI = dyn_cast<Instruction>( in analyzeLoopUnrollCost() local 427 if (L->contains(OpI)) in analyzeLoopUnrollCost() 428 PHIUsedList.push_back(OpI); in analyzeLoopUnrollCost() 446 auto *OpI = dyn_cast<Instruction>(Op); in analyzeLoopUnrollCost() local 447 if (!OpI || !L->contains(OpI)) in analyzeLoopUnrollCost() 451 CostWorklist.push_back(OpI); in analyzeLoopUnrollCost() 634 if (auto *OpI = dyn_cast<Instruction>(Op)) in analyzeLoopUnrollCost() local 635 if (L->contains(OpI)) in analyzeLoopUnrollCost() 636 AddCostRecursively(*OpI, TripCount - 1); in analyzeLoopUnrollCost()
|
D | Reassociate.cpp | 2457 Instruction *OpI = dyn_cast<Instruction>(Op); in BuildPairMap() local 2458 if (!OpI || OpI->getOpcode() != I.getOpcode() || !OpI->hasOneUse()) { in BuildPairMap() 2463 if (OpI->getOperand(0) != OpI) in BuildPairMap() 2464 Worklist.push_back(OpI->getOperand(0)); in BuildPairMap() 2465 if (OpI->getOperand(1) != OpI) in BuildPairMap() 2466 Worklist.push_back(OpI->getOperand(1)); in BuildPairMap()
|
D | LoopInterchange.cpp | 1279 Instruction *OpI = dyn_cast<Instruction>(Op); in transform() local 1280 if (!OpI || in transform() 1281 this->LI->getLoopFor(OpI->getParent()) != this->InnerLoop || in transform() 1282 OpI == InductionPHI) in transform() 1284 WorkList.insert(OpI); in transform()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SpeculateAroundPHIs.cpp | 99 auto *OpI = dyn_cast<Instruction>(*OpIt); in isSafeToSpeculatePHIUsers() local 103 if (!OpI) in isSafeToSpeculatePHIUsers() 116 auto *ParentBB = OpI->getParent(); in isSafeToSpeculatePHIUsers() 118 if (isa<PHINode>(OpI)) { in isSafeToSpeculatePHIUsers() 129 if (PotentialSpecSet.count(OpI)) in isSafeToSpeculatePHIUsers() 134 if (UnsafeSet.count(OpI) || ParentBB != PhiBB || in isSafeToSpeculatePHIUsers() 135 mayBeMemoryDependent(*OpI)) { in isSafeToSpeculatePHIUsers() 137 << *OpI << "\n"); in isSafeToSpeculatePHIUsers() 140 UnsafeSet.insert(OpI); in isSafeToSpeculatePHIUsers() 149 if (!Visited.insert(OpI).second) in isSafeToSpeculatePHIUsers() [all …]
|
D | DCE.cpp | 143 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in DCEInstruction() local 144 if (isInstructionTriviallyDead(OpI, TLI)) in DCEInstruction() 145 WorkList.insert(OpI); in DCEInstruction()
|
D | LoopUnrollPass.cpp | 422 if (auto *OpI = dyn_cast<Instruction>( in analyzeLoopUnrollCost() local 424 if (L->contains(OpI)) in analyzeLoopUnrollCost() 425 PHIUsedList.push_back(OpI); in analyzeLoopUnrollCost() 443 auto *OpI = dyn_cast<Instruction>(Op); in analyzeLoopUnrollCost() local 444 if (!OpI || !L->contains(OpI)) in analyzeLoopUnrollCost() 448 CostWorklist.push_back(OpI); in analyzeLoopUnrollCost() 628 if (auto *OpI = dyn_cast<Instruction>(Op)) in analyzeLoopUnrollCost() local 629 if (L->contains(OpI)) in analyzeLoopUnrollCost() 630 AddCostRecursively(*OpI, TripCount - 1); in analyzeLoopUnrollCost()
|
D | Reassociate.cpp | 2346 Instruction *OpI = dyn_cast<Instruction>(Op); in BuildPairMap() local 2347 if (!OpI || OpI->getOpcode() != I.getOpcode() || !OpI->hasOneUse()) { in BuildPairMap() 2352 if (OpI->getOperand(0) != OpI) in BuildPairMap() 2353 Worklist.push_back(OpI->getOperand(0)); in BuildPairMap() 2354 if (OpI->getOperand(1) != OpI) in BuildPairMap() 2355 Worklist.push_back(OpI->getOperand(1)); in BuildPairMap()
|
D | Scalarizer.cpp | 538 Value *OpI = CI.getOperand(I); in splitCall() local 539 if (OpI->getType()->isVectorTy()) { in splitCall() 540 Scattered[I] = scatter(&CI, OpI); in splitCall() 543 ScalarOperands[I] = OpI; in splitCall()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineInstrBundle.h | 95 MachineInstr::mop_iterator OpI, OpE; variable 100 while (OpI == OpE) { in advance() 104 OpI = InstrI->operands_begin(); in advance() 124 OpI = InstrI->operands_begin(); in MachineOperandIteratorBase() 130 MachineOperand &deref() const { return *OpI; } in deref() 134 bool isValid() const { return OpI != OpE; } in isValid() 139 ++OpI; 147 return OpI - InstrI->operands_begin(); in getOperandNo()
|
/external/llvm/lib/Transforms/Scalar/ |
D | DCE.cpp | 91 if (Instruction *OpI = dyn_cast<Instruction>(OpV)) in DCEInstruction() local 92 if (isInstructionTriviallyDead(OpI, TLI)) in DCEInstruction() 93 WorkList.insert(OpI); in DCEInstruction()
|
D | LoopUnrollPass.cpp | 320 if (auto *OpI = dyn_cast<Instruction>( in analyzeLoopUnrollCost() local 322 if (L->contains(OpI)) in analyzeLoopUnrollCost() 323 PHIUsedList.push_back(OpI); in analyzeLoopUnrollCost() 341 auto *OpI = dyn_cast<Instruction>(Op); in analyzeLoopUnrollCost() local 342 if (!OpI || !L->contains(OpI)) in analyzeLoopUnrollCost() 346 CostWorklist.push_back(OpI); in analyzeLoopUnrollCost() 516 if (auto *OpI = dyn_cast<Instruction>(Op)) in analyzeLoopUnrollCost() local 517 if (L->contains(OpI)) in analyzeLoopUnrollCost() 518 AddCostRecursively(*OpI, TripCount - 1); in analyzeLoopUnrollCost()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | Utils.cpp | 121 for (unsigned OpI = 0, OpE = I.getNumExplicitOperands(); OpI != OpE; ++OpI) { in constrainSelectedInstRegOperands() local 122 MachineOperand &MO = I.getOperand(OpI); in constrainSelectedInstRegOperands() 145 MO, OpI)); in constrainSelectedInstRegOperands() 150 int DefIdx = I.getDesc().getOperandConstraint(OpI, MCOI::TIED_TO); in constrainSelectedInstRegOperands() 152 I.tieOperands(DefIdx, OpI); in constrainSelectedInstRegOperands()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 1266 BinaryOperator *OpI = dyn_cast<BinaryOperator>(CI.getOperand(0)); in visitFPTrunc() local 1267 if (OpI && OpI->hasOneUse()) { in visitFPTrunc() 1268 Value *LHSOrig = lookThroughFPExtensions(OpI->getOperand(0)); in visitFPTrunc() 1269 Value *RHSOrig = lookThroughFPExtensions(OpI->getOperand(1)); in visitFPTrunc() 1270 unsigned OpWidth = OpI->getType()->getFPMantissaWidth(); in visitFPTrunc() 1275 switch (OpI->getOpcode()) { in visitFPTrunc() 1303 BinaryOperator::Create(OpI->getOpcode(), LHSOrig, RHSOrig); in visitFPTrunc() 1304 RI->copyFastMathFlags(OpI); in visitFPTrunc() 1321 RI->copyFastMathFlags(OpI); in visitFPTrunc() 1339 RI->copyFastMathFlags(OpI); in visitFPTrunc() [all …]
|
/external/llvm-project/mlir/test/mlir-tblgen/ |
D | op-result.td | 90 def OpI : NS_Op<"mix_variadic_and_normal_results_op", [SameVariadicResultSize]> { 94 // CHECK-LABEL: ::mlir::Operation::result_range OpI::output1 97 // CHECK-LABEL: ::mlir::Value OpI::output2 100 // CHECK-LABEL: OpI::build
|
/external/llvm-project/llvm/utils/TableGen/ |
D | GICombinerEmitter.cpp | 284 if (const DefInit *OpI = dyn_cast<DefInit>(&N)) in isSpecificDef() local 285 if (OpI->getDef()->getName() == Def) in isSpecificDef() 295 if (const DefInit *OpI = dyn_cast<DefInit>(&N)) in getDefOfSubClass() local 296 if (OpI->getDef()->isSubClassOf(Cls)) in getDefOfSubClass() 297 return OpI->getDef(); in getDefOfSubClass() 309 if (const DefInit *OpI = dyn_cast<DefInit>(I->getOperator())) in getDagWithSpecificOperator() local 310 if (OpI->getDef()->getName() == Name) in getDagWithSpecificOperator() 323 if (const DefInit *OpI = dyn_cast<DefInit>(I->getOperator())) in getDagWithOperatorOfSubClass() local 324 if (OpI->getDef()->isSubClassOf(Cls)) in getDagWithOperatorOfSubClass()
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | Utils.cpp | 135 for (unsigned OpI = 0, OpE = I.getNumExplicitOperands(); OpI != OpE; ++OpI) { in constrainSelectedInstRegOperands() local 136 MachineOperand &MO = I.getOperand(OpI); in constrainSelectedInstRegOperands() 159 MO, OpI)); in constrainSelectedInstRegOperands() 164 int DefIdx = I.getDesc().getOperandConstraint(OpI, MCOI::TIED_TO); in constrainSelectedInstRegOperands() 166 I.tieOperands(DefIdx, OpI); in constrainSelectedInstRegOperands()
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600Packetizer.cpp | 190 int OpI = TII->getOperandIdx(MII->getOpcode(), AMDGPU::OpName::pred_sel), in isLegalToPacketizeTogether() local 192 unsigned PredI = (OpI > -1)?MII->getOperand(OpI).getReg():0, in isLegalToPacketizeTogether()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64FalkorHWPFFix.cpp | 743 for (unsigned OpI = 0, OpE = MI.getNumOperands(); OpI < OpE; ++OpI) { in runOnLoop() local 744 if (OpI == static_cast<unsigned>(LdI.BaseRegIdx)) in runOnLoop() 746 MachineOperand &MO = MI.getOperand(OpI); in runOnLoop()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64FalkorHWPFFix.cpp | 743 for (unsigned OpI = 0, OpE = MI.getNumOperands(); OpI < OpE; ++OpI) { in runOnLoop() local 744 if (OpI == static_cast<unsigned>(LdI.BaseRegIdx)) in runOnLoop() 746 MachineOperand &MO = MI.getOperand(OpI); in runOnLoop()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600Packetizer.cpp | 187 int OpI = TII->getOperandIdx(MII->getOpcode(), R600::OpName::pred_sel), in isLegalToPacketizeTogether() local 189 Register PredI = (OpI > -1)?MII->getOperand(OpI).getReg() : Register(), in isLegalToPacketizeTogether()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | R600Packetizer.cpp | 187 int OpI = TII->getOperandIdx(MII->getOpcode(), R600::OpName::pred_sel), in isLegalToPacketizeTogether() local 189 Register PredI = (OpI > -1)?MII->getOperand(OpI).getReg() : Register(), in isLegalToPacketizeTogether()
|