HomeSort by: relevance | last modified time | path
    Searched defs:Cond (Results 1 - 25 of 143) sorted by relevancy

1 2 3 4 5 6

  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyLowerBrUnless.cpp 71 Register Cond = MI->getOperand(1).getReg();
75 if (MFI.isVRegStackified(Cond)) {
76 assert(MRI.hasOneDef(Cond));
77 MachineInstr *Def = MRI.getVRegDef(Cond);
178 Cond = Def->getOperand(1).getReg();
193 .addReg(Cond);
195 Cond = Tmp;
204 .addReg(Cond);
WebAssemblyFixBrTableDefaults.cpp 97 SmallVector<MachineOperand, 2> Cond;
99 bool Analyzed = !TII.analyzeBranch(*HeaderMBB, TBB, FBB, Cond);
114 assert(Cond.size() == 2 && Cond[1].isReg() && "Unexpected condition info");
123 auto *RangeCheck = MRI.getVRegDef(Cond[1].getReg());
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
MatrixUtils.cpp 44 Value *Cond = B.CreateICmpNE(Inc, Bound, Name + ".cond");
45 BranchInst::Create(Header, Exit, Cond, Latch);
Local.cpp 143 // br bool %cond, label %Dest, label %Dest
157 Value *Cond = BI->getCondition();
160 RecursivelyDeleteTriviallyDeadInstructions(Cond, TLI);
164 if (auto *Cond = dyn_cast<ConstantInt>(BI->getCondition())) {
167 BasicBlock *Destination = Cond->getZExtValue() ? Dest1 : Dest2;
168 BasicBlock *OldDest = Cond->getZExtValue() ? Dest2 : Dest1;
286 Value *Cond = SI->getCondition();
289 RecursivelyDeleteTriviallyDeadInstructions(Cond, TLI);
304 Value *Cond = Builder.CreateICmpEQ(SI->getCondition(),
305 FirstCase.getCaseValue(), "cond");
    [all...]
CallPromotionUtils.cpp 204 /// %cond = icmp eq i32 ()* %ptr, @func
205 /// br i1 %cond, %then_bb, %else_bb
234 /// %cond = icmp eq i32 ()* %ptr, @func
235 /// br i1 %cond, %then_bb, %else_bb
269 /// %cond = icmp eq i32 ()* %ptr, @func
270 /// br i1 %cond, %then_bb, %orig_bb
293 auto *Cond = Builder.CreateICmpEQ(CB.getCalledOperand(), Callee);
299 SplitBlockAndInsertIfThen(Cond, &CB, false, BranchWeights);
338 SplitBlockAndInsertIfThenElse(Cond, &CB, &ThenTerm, &ElseTerm, BranchWeights);
Evaluator.cpp 633 ConstantInt *Cond =
635 if (!Cond) return false; // Cannot determine.
637 NextBB = BI->getSuccessor(!Cond->getZExtValue());
LibCallsShrinkWrap.cpp 95 void shrinkWrapCI(CallInst *CI, Value *Cond);
138 Value *Cond = nullptr;
149 Cond = createOrCond(CI, CmpInst::FCMP_OLT, -1.0f, CmpInst::FCMP_OGT, 1.0f);
160 Cond = createOrCond(CI, CmpInst::FCMP_OEQ, INFINITY, CmpInst::FCMP_OEQ,
169 Cond = createCond(CI, CmpInst::FCMP_OLT, 1.0f);
177 Cond = createCond(CI, CmpInst::FCMP_OLT, 0.0f);
183 shrinkWrapCI(CI, Cond);
190 Value *Cond = nullptr;
208 Cond = generateTwoRangeCond(CI, Func);
215 Cond = generateOneRangeCond(CI, Func)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineLoopUtils.cpp 120 SmallVector<MachineOperand, 4> Cond;
121 bool CanAnalyzeBr = !TII->analyzeBranch(*Loop, TBB, FBB, Cond);
126 FBB == Exit ? NewBB : FBB, Cond, DL);
BasicBlockSections.cpp 167 SmallVector<MachineOperand, 4> Cond;
187 Cond.clear();
189 if (TII->analyzeBranch(MBB, TBB, FBB, Cond))
BranchRelaxation.cpp 300 SmallVector<MachineOperand, 4> Cond;
311 SmallVectorImpl<MachineOperand>& Cond) {
314 TII->insertBranch(*MBB, TBB, FBB, Cond, DL, &NewBrSize);
334 bool Fail = TII->analyzeBranch(*MBB, TBB, FBB, Cond);
346 bool ReversedCond = !TII->reverseBranchCondition(Cond);
361 insertBranch(MBB, FBB, TBB, Cond);
387 insertBranch(MBB, &NextBB, TBB, Cond);
392 // Branch cond can't be inverted.
400 // This is the block with cond. branch and the distance to TBB is too long.
414 LLVM_DEBUG(dbgs() << " Insert cond B to the new BB
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
Parallel.cpp 68 Cond.notify_all();
94 Cond.notify_one();
102 Cond.wait(Lock, [&] { return Stop || !WorkStack.empty(); });
115 std::condition_variable Cond;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64A53Fix835769.cpp 140 SmallVector<MachineOperand, 2> Cond;
144 if (S == PrevBB && !TII->analyzeBranch(*PrevBB, TBB, FBB, Cond) && !TBB &&
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonBranchRelaxation.cpp 162 SmallVector<MachineOperand, 4> Cond;
165 if (HII->analyzeBranch(B, TBB, FBB, Cond, false)) {
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
AssumptionCache.cpp 87 Value *Cond = CI->getArgOperand(0), *A, *B;
88 AddAffected(Cond);
91 if (match(Cond, m_ICmp(Pred, m_Value(A), m_Value(B)))) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
MSP430BranchSelector.cpp 191 SmallVector<MachineOperand, 1> Cond;
192 Cond.push_back(MI->getOperand(1));
195 TII->reverseBranchCondition(Cond);
198 .add(Cond[0]);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopDeletion.cpp 123 ConstantInt *Cond;
125 m_Br(m_ConstantInt(Cond), Taken, NotTaken)))
127 if (!Cond->getZExtValue())
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Parallel.h 39 mutable std::condition_variable Cond;
53 Cond.notify_all();
58 Cond.wait(lock, [&] { return Count == 0; });
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
SIAnnotateControlFlow.cpp 83 handleLoopCondition(Value *Cond, PHINode *Broken, llvm::Loop *L,
224 Value *Cond, PHINode *Broken, llvm::Loop *L, BranchInst *Term) {
225 if (Instruction *Inst = dyn_cast<Instruction>(Cond)) {
234 Value *Args[] = { Cond, Broken };
238 // Insert IfBreak in the loop header TERM for constant COND other than true.
239 if (isa<Constant>(Cond)) {
240 Instruction *Insert = Cond == BoolTrue ?
243 Value *Args[] = { Cond, Broken };
263 Value *Cond = Term->getCondition();
265 Value *Arg = handleLoopCondition(Cond, Broken, L, Term)
    [all...]
SIPreEmitPeephole.cpp 43 SmallVectorImpl<MachineOperand> &Cond);
277 MachineBasicBlock *&FalseMBB, SmallVectorImpl<MachineOperand> &Cond) {
278 if (TII->analyzeBranch(SrcMBB, TrueMBB, FalseMBB, Cond))
326 SmallVector<MachineOperand, 1> Cond;
328 if (!getBlockDestinations(SrcMBB, TrueMBB, FalseMBB, Cond))
AMDGPUAtomicOptimizer.cpp 280 Value *Cond = B.CreateICmp(Pred, LHS, RHS);
281 return B.CreateSelect(Cond, LHS, RHS);
474 Value *const Cond = B.CreateIntrinsic(Intrinsic::amdgcn_ps_live, {}, {});
476 SplitBlockAndInsertIfThen(Cond, &I, false, nullptr, DT, nullptr);
594 Value *const Cond = B.CreateICmpEQ(Mbcnt, B.getIntN(TyBitWidth, 0));
605 SplitBlockAndInsertIfThen(Cond, &I, false, nullptr, DT, nullptr);
673 LaneOffset = B.CreateSelect(Cond, Identity, V);
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCBranchCoalescing.cpp 141 SmallVector<MachineOperand, 4> Cond;
212 Cond.clear();
240 Cand.Cond)) {
760 if (!identicalOperands(Cand1.Cond, Cand2.Cond)) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroEarly.cpp 97 auto *Cond = Builder.CreateICmpEQ(Load, NullPtr);
99 II->replaceAllUsesWith(Cond);
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
ReachableCode.cpp 54 const Expr *Cond = DS->getCond()->IgnoreParenCasts();
55 return Cond == S && isTrivialExpression(Cond);
305 const Stmt *Cond = B->getTerminatorCondition(/* stripParens */ false);
306 return isConfigurationValue(Cond, PP);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/
OMPIRBuilder.h 1082 /// | Cond---\
1110 BasicBlock *Cond;
1135 BasicBlock *getCond() const { return Cond; }
1161 Instruction *CmpI = &Cond->front();
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86FlagsCopyLowering.cpp 102 const DebugLoc &TestLoc, X86::CondCode Cond);
105 const DebugLoc &TestLoc, X86::CondCode Cond, CondRegArray &CondRegs);
740 X86::CondCode Cond = X86::getCondFromSETCC(MI);
741 if (Cond != X86::COND_INVALID && !MI.mayStore() &&
745 CondRegs[Cond] = MI.getOperand(0).getReg();
758 const DebugLoc &TestLoc, X86::CondCode Cond) {
761 TII->get(X86::SETCCr), Reg).addImm(Cond);
763 LLVM_DEBUG(dbgs() << " save cond: "; SetI->dump());
770 const DebugLoc &TestLoc, X86::CondCode Cond, CondRegArray &CondRegs) {
771 unsigned &CondReg = CondRegs[Cond];
    [all...]

Completed in 36 milliseconds

1 2 3 4 5 6