Home
last modified time | relevance | path

Searched refs:IfCond (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h784 const Expr *IfCond, llvm::Value *NumThreads);
1131 Address Shareds, const Expr *IfCond,
1167 const Expr *IfCond, const OMPTaskDataTy &Data);
1351 const Expr *IfCond,
1384 llvm::Function *OutlinedFn, llvm::Value *OutlinedFnID, const Expr *IfCond,
1468 const Expr *IfCond, const Expr *Device,
1481 const Expr *IfCond,
1744 const Expr *IfCond, llvm::Value *NumThreads) override;
1989 Address Shareds, const Expr *IfCond,
2023 QualType SharedsTy, Address Shareds, const Expr *IfCond,
[all …]
H A DCGStmtOpenMP.cpp1627 const Expr *IfCond = nullptr; in emitCommonOMPParallelDirective() local
1631 IfCond = C->getCondition(); in emitCommonOMPParallelDirective()
1645 CapturedVars, IfCond, NumThreads); in emitCommonOMPParallelDirective()
1799 llvm::Value *IfCond = nullptr; in EmitOMPParallelDirective() local
1801 IfCond = EmitScalarExpr(C->getCondition(), in EmitOMPParallelDirective()
1851 IfCond, NumThreads, ProcBind, S.hasCancel())); in EmitOMPParallelDirective()
2639 const Expr *IfCond = nullptr; in emitCommonSimdLoop() local
2646 IfCond = C->getCondition(); in emitCommonSimdLoop()
2651 if (IfCond) { in emitCommonSimdLoop()
2652 CGF.CGM.getOpenMPRuntime().emitIfClause(CGF, IfCond, ThenGen, ElseGen); in emitCommonSimdLoop()
[all …]
H A DCGOpenMPRuntimeGPU.h237 const Expr *IfCond, llvm::Value *NumThreads) override;
H A DCGOpenMPRuntime.cpp1851 const Expr *IfCond, in emitParallelCall() argument
1911 if (IfCond) { in emitParallelCall()
1912 emitIfClause(CGF, IfCond, ThenGen, ElseGen); in emitParallelCall()
4485 const Expr *IfCond, in emitTaskCall() argument
4593 if (IfCond) { in emitTaskCall()
4594 emitIfClause(CGF, IfCond, ThenCodeGen, ElseCodeGen); in emitTaskCall()
4605 const Expr *IfCond, in emitTaskLoopCall() argument
4619 if (IfCond) { in emitTaskLoopCall()
4620 IfVal = CGF.Builder.CreateIntCast(CGF.EvaluateExprAsBool(IfCond), CGF.IntTy, in emitTaskLoopCall()
6001 const Expr *IfCond, in emitCancelCall() argument
[all …]
H A DCGOpenMPRuntimeGPU.cpp1208 const Expr *IfCond, in emitParallelCall() argument
1213 auto &&ParallelGen = [this, Loc, OutlinedFn, CapturedVars, IfCond, in emitParallelCall()
1251 if (IfCond) in emitParallelCall()
1252 IfCondVal = Bld.CreateIntCast(CGF.EvaluateExprAsBool(IfCond), CGF.Int32Ty, in emitParallelCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DAsmCond.h25 IfCond, // inside if conditional enumerator
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp1034 ExtractedAvailabilityExpr extractAvailabilityExpr(const Expr *IfCond) { in extractAvailabilityExpr() argument
1035 const auto *E = IfCond; in extractAvailabilityExpr()
1053 ExtractedAvailabilityExpr IfCond = extractAvailabilityExpr(If->getCond()); in TraverseIfStmt() local
1054 if (!IfCond.E) { in TraverseIfStmt()
1059 VersionTuple CondVersion = IfCond.E->getVersion(); in TraverseIfStmt()
1068 if (IfCond.isNegated) { in TraverseIfStmt()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h1118 void createIfVersion(CanonicalLoopInfo *Loop, Value *IfCond,
1273 Value *IfCond, omp::OrderKind Order,
3059 InsertPointTy CodeGenIP, Value *DeviceID, Value *IfCond,
3106 const TargetKernelRuntimeAttrs &RuntimeAttrs, Value *IfCond,
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp5378 Value *IfCond, ValueToValueMapTy &VMap, in createIfVersion() argument
5416 Builder.CreateCondBr(IfCond, ThenBlock, /*ifFalse*/ ElseBlock); in createIfVersion()
5484 Value *IfCond, OrderKind Order, in applySimd() argument
5516 if (IfCond) { in applySimd()
5518 createIfVersion(CanonicalLoop, IfCond, VMap, LIA, LI, L, "simd"); in applySimd()
5554 if (IfCond) { in applySimd()
6660 InsertPointTy CodeGenIP, Value *DeviceID, Value *IfCond, in createTargetData() argument
6824 if (IfCond) in createTargetData()
6825 return emitIfClause(IfCond, BeginThenGen, BeginElseGen, AllocaIP); in createTargetData()
6840 if (IfCond) in createTargetData()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp4676 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIf()
4705 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfb()
4751 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfidn()
4767 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfdef()
4804 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIf()
4844 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIfb()
4879 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIfdef()
4925 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIfidn()
4980 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElse()
H A DAsmParser.cpp5114 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIf()
5156 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfb()
5178 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfc()
5204 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfeqs()
5249 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfdef()
5273 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIf()
5306 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElse()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3649 Value *IfCond = DomBI->getCondition(); in foldTwoEntryPHINode() local
3651 if (isa<ConstantInt>(IfCond)) in foldTwoEntryPHINode()
3691 if (auto *IfCondPhiInst = dyn_cast<PHINode>(IfCond)) in foldTwoEntryPHINode()
3760 IsBinOpOrAnd(PN->getIncomingValue(1)) || IsBinOpOrAnd(IfCond)) && in foldTwoEntryPHINode()
3783 LLVM_DEBUG(dbgs() << "FOUND IF CONDITION! " << *IfCond; in foldTwoEntryPHINode()
3803 Value *Sel = Builder.CreateSelectFMF(IfCond, TrueVal, FalseVal, in foldTwoEntryPHINode()