Home
last modified time | relevance | path

Searched refs:condBranchOp (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp328 auto condBranchOp = dyn_cast<LLVM::CondBrOp>(terminator); in getPHISourceValue() local
329 assert(condBranchOp && in getPHISourceValue()
332 assert((condBranchOp.getSuccessor(0) != condBranchOp.getSuccessor(1)) && in getPHISourceValue()
336 return condBranchOp.getSuccessor(0) == current in getPHISourceValue()
337 ? condBranchOp.trueDestOperands()[index] in getPHISourceValue()
338 : condBranchOp.falseDestOperands()[index]; in getPHISourceValue()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp1818 spirv::BranchConditionalOp condBranchOp) { in processBranchConditionalOp() argument
1819 auto conditionID = getValueID(condBranchOp.condition()); in processBranchConditionalOp()
1820 auto trueLabelID = getOrCreateBlockID(condBranchOp.getTrueBlock()); in processBranchConditionalOp()
1821 auto falseLabelID = getOrCreateBlockID(condBranchOp.getFalseBlock()); in processBranchConditionalOp()
1824 if (auto weights = condBranchOp.branch_weights()) { in processBranchConditionalOp()
1829 emitDebugLine(functionBody, condBranchOp.getLoc()); in processBranchConditionalOp()