Home
last modified time | relevance | path

Searched refs:cInst (Results 1 – 21 of 21) sorted by relevance

/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/AdaptorCommon/
H A DAddImplicitArgs.cpp332 CallInst *cInst = dyn_cast<CallInst>(U); in replaceAllUsesWithNewOCLBuiltinFunction() local
335 cInst = dyn_cast<CallInst>(BC->user_back()); in replaceAllUsesWithNewOCLBuiltinFunction()
339 if (!cInst || IGCLLVM::getCalledValue(cInst) != old_func) in replaceAllUsesWithNewOCLBuiltinFunction()
362 if (!cInst) in replaceAllUsesWithNewOCLBuiltinFunction()
376 size_t numArgOperands = cInst->getNumArgOperands(); in replaceAllUsesWithNewOCLBuiltinFunction()
387 llvm::Value* arg = coerce(cInst->getOperand(i), new_arg_iter->getType(), cInst); in replaceAllUsesWithNewOCLBuiltinFunction()
454 inst->setDebugLoc(cInst->getDebugLoc()); in replaceAllUsesWithNewOCLBuiltinFunction()
455 cInst->replaceAllUsesWith(inst); in replaceAllUsesWithNewOCLBuiltinFunction()
456 list_delete.push_back(cInst); in replaceAllUsesWithNewOCLBuiltinFunction()
696 CallInst *cInst = dyn_cast<CallInst>(v); in combineTwoArgDetail() local
[all …]
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/
H A DLowPrecisionOptPass.cpp78 (*bundle).cInst->moveBefore(&(*(m_currFunction->getEntryBlock().begin()))); in runOnFunction()
140 llvm::GenIntrinsicInst* cInst = llvm::dyn_cast<llvm::GenIntrinsicInst>(I.getOperand(0)); in visitFPTruncInst() local
142 if (cInst && in visitFPTruncInst()
143 cInst->getIntrinsicID() == GenISAIntrinsic::GenISA_RuntimeValue) in visitFPTruncInst()
149 bundle.index = (uint)llvm::cast<llvm::ConstantInt>(cInst->getOperand(0))->getZExtValue(); in visitFPTruncInst()
150 bundle.cInst = cInst; in visitFPTruncInst()
H A DLowPrecisionOptPass.hpp46 llvm::GenIntrinsicInst* cInst; member
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/CISACodeGen/
H A DResolveGAS.cpp1394 else if (CallInst* cInst = dyn_cast<CallInst>(inst)) in fixAddressSpaceInAllUses() local
1626 CallInst* cInst = dyn_cast<CallInst>(*U); in updateAllUsesWithNewFunction() local
1629 cInst = dyn_cast<CallInst>(BC->user_back()); in updateAllUsesWithNewFunction()
1630 if (!cInst) in updateAllUsesWithNewFunction()
1640 for (unsigned int i = 0; i < cInst->getNumArgOperands(); ++i, ++AI) in updateAllUsesWithNewFunction()
1642 Value* callArg = cInst->getOperand(i); in updateAllUsesWithNewFunction()
1679 cInst); in updateAllUsesWithNewFunction()
1682 inst->setDebugLoc(cInst->getDebugLoc()); in updateAllUsesWithNewFunction()
1683 cInst->replaceAllUsesWith(inst); in updateAllUsesWithNewFunction()
1684 callsToDelete.push_back(cInst); in updateAllUsesWithNewFunction()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/
H A DPreCompiledFuncImport.cpp2020 CallInst* cInst = dyn_cast<CallInst>(*U); in replaceFunc() local
2021 if (!cInst) in replaceFunc()
2026 Function* parent_func = cInst->getParent()->getParent(); in replaceFunc()
2027 size_t numArgOperands = cInst->getNumArgOperands(); in replaceFunc()
2038 llvm::Value* arg = cInst->getOperand(i); in replaceFunc()
2060 inst = CallInst::Create(new_func, new_args, "", cInst); in replaceFunc()
2064 inst = CallInst::Create(new_func, new_args, new_func->getName(), cInst); in replaceFunc()
2067 inst->setDebugLoc(cInst->getDebugLoc()); in replaceFunc()
2068 cInst->replaceAllUsesWith(inst); in replaceFunc()
2069 list_delete.push_back(cInst); in replaceFunc()
H A DBuiltInFuncImport.cpp1067 CallInst* cInst = dyn_cast<CallInst>(*U); in runOnModule() local
1068 if (cInst) in runOnModule()
1070 callerSet.insert(cInst->getParent()->getParent()); in runOnModule()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/SPIRV-Tools/src/source/opt/
H A Dlocal_access_chain_convert_pass.cpp68 const Instruction* cInst = get_def_use_mgr()->GetDef(*iid); in AppendConstantOperands() local
69 uint32_t val = cInst->GetSingleWordInOperand(kConstantValueInIdx); in AppendConstantOperands()
H A Ddead_branch_elim_pass.cpp42 Instruction* cInst = get_def_use_mgr()->GetDef(condId); in GetConstCondition() local
43 switch (cInst->opcode()) { in GetConstCondition()
55 GetConstCondition(cInst->GetSingleWordInOperand(0), &negVal); in GetConstCondition()
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/opt/
H A Dlocal_access_chain_convert_pass.cpp68 const Instruction* cInst = get_def_use_mgr()->GetDef(*iid); in AppendConstantOperands() local
69 uint32_t val = cInst->GetSingleWordInOperand(kConstantValueInIdx); in AppendConstantOperands()
H A Ddead_branch_elim_pass.cpp42 Instruction* cInst = get_def_use_mgr()->GetDef(condId); in GetConstCondition() local
43 switch (cInst->opcode()) { in GetConstCondition()
55 GetConstCondition(cInst->GetSingleWordInOperand(0), &negVal); in GetConstCondition()
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/spirv-tools/source/opt/
H A Dlocal_access_chain_convert_pass.cpp68 const Instruction* cInst = get_def_use_mgr()->GetDef(*iid); in AppendConstantOperands() local
69 uint32_t val = cInst->GetSingleWordInOperand(kConstantValueInIdx); in AppendConstantOperands()
H A Ddead_branch_elim_pass.cpp42 Instruction* cInst = get_def_use_mgr()->GetDef(condId); in GetConstCondition() local
43 switch (cInst->opcode()) { in GetConstCondition()
55 GetConstCondition(cInst->GetSingleWordInOperand(0), &negVal); in GetConstCondition()
/dports/devel/intel-graphics-compiler/SPIRV-Tools/source/opt/
H A Dlocal_access_chain_convert_pass.cpp68 const Instruction* cInst = get_def_use_mgr()->GetDef(*iid); in AppendConstantOperands() local
69 uint32_t val = cInst->GetSingleWordInOperand(kConstantValueInIdx); in AppendConstantOperands()
H A Ddead_branch_elim_pass.cpp42 Instruction* cInst = get_def_use_mgr()->GetDef(condId); in GetConstCondition() local
43 switch (cInst->opcode()) { in GetConstCondition()
56 GetConstCondition(cInst->GetSingleWordInOperand(0), &negVal); in GetConstCondition()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dlocal_access_chain_convert_pass.cpp68 const Instruction* cInst = get_def_use_mgr()->GetDef(*iid); in AppendConstantOperands() local
69 uint32_t val = cInst->GetSingleWordInOperand(kConstantValueInIdx); in AppendConstantOperands()
H A Ddead_branch_elim_pass.cpp42 Instruction* cInst = get_def_use_mgr()->GetDef(condId); in GetConstCondition() local
43 switch (cInst->opcode()) { in GetConstCondition()
56 GetConstCondition(cInst->GetSingleWordInOperand(0), &negVal); in GetConstCondition()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/SPIRV-Tools/src/source/opt/
H A Dlocal_access_chain_convert_pass.cpp68 const Instruction* cInst = get_def_use_mgr()->GetDef(*iid); in AppendConstantOperands() local
69 uint32_t val = cInst->GetSingleWordInOperand(kConstantValueInIdx); in AppendConstantOperands()
H A Ddead_branch_elim_pass.cpp42 Instruction* cInst = get_def_use_mgr()->GetDef(condId); in GetConstCondition() local
43 switch (cInst->opcode()) { in GetConstCondition()
56 GetConstCondition(cInst->GetSingleWordInOperand(0), &negVal); in GetConstCondition()
/dports/graphics/spirv-tools/SPIRV-Tools-2021.4/source/opt/
H A Dlocal_access_chain_convert_pass.cpp68 const Instruction* cInst = get_def_use_mgr()->GetDef(*iid); in AppendConstantOperands() local
69 uint32_t val = cInst->GetSingleWordInOperand(kConstantValueInIdx); in AppendConstantOperands()
H A Ddead_branch_elim_pass.cpp42 Instruction* cInst = get_def_use_mgr()->GetDef(condId); in GetConstCondition() local
43 switch (cInst->opcode()) { in GetConstCondition()
56 GetConstCondition(cInst->GetSingleWordInOperand(0), &negVal); in GetConstCondition()
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/visa/
H A DOptimizer.cpp5827 G4_INST* cInst = Cache[index]; in updateSendsHeaderReuse() local
5831 if (cInst->opcode() != iInst->opcode() || in updateSendsHeaderReuse()
5832 cInst->getExecSize() != iInst->getExecSize()) in updateSendsHeaderReuse()
5837 if (cInst->getPredicate() != iInst->getPredicate() || in updateSendsHeaderReuse()
5838 cInst->getCondMod() != iInst->getCondMod()) in updateSendsHeaderReuse()
5843 if (cInst->getMaskOffset() != iInst->getMaskOffset() || in updateSendsHeaderReuse()
5849 G4_DstRegRegion *cDstRgn = cInst->getDst(); in updateSendsHeaderReuse()
5865 G4_Operand* cOpnd = cInst->getSrc(iSrc); in updateSendsHeaderReuse()
5874 if (chkBwdWARdep(cInst, endIter)) in updateSendsHeaderReuse()
5887 G4_INST* cInst = Cache[index]; in updateSendsHeaderReuse() local
[all …]