Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h802 const Expr *IfCond, llvm::Value *NumThreads);
1149 Address Shareds, const Expr *IfCond,
1185 const Expr *IfCond, const OMPTaskDataTy &Data);
1357 const Expr *IfCond,
1390 llvm::Function *OutlinedFn, llvm::Value *OutlinedFnID, const Expr *IfCond,
1474 const Expr *IfCond, const Expr *Device,
1487 const Expr *IfCond,
1750 const Expr *IfCond, llvm::Value *NumThreads) override;
1995 Address Shareds, const Expr *IfCond,
2029 QualType SharedsTy, Address Shareds, const Expr *IfCond,
[all …]
H A DCGStmtOpenMP.cpp1586 const Expr *IfCond = nullptr; in emitCommonOMPParallelDirective() local
1590 IfCond = C->getCondition(); in emitCommonOMPParallelDirective()
1604 CapturedVars, IfCond, NumThreads); in emitCommonOMPParallelDirective()
1758 llvm::Value *IfCond = nullptr; in EmitOMPParallelDirective() local
1760 IfCond = EmitScalarExpr(C->getCondition(), in EmitOMPParallelDirective()
1808 IfCond, NumThreads, ProcBind, S.hasCancel())); in EmitOMPParallelDirective()
2515 const Expr *IfCond = nullptr; in emitCommonSimdLoop() local
2521 IfCond = C->getCondition(); in emitCommonSimdLoop()
2526 if (IfCond) { in emitCommonSimdLoop()
2527 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.cpp1871 const Expr *IfCond, in emitParallelCall() argument
1932 if (IfCond) { in emitParallelCall()
1933 emitIfClause(CGF, IfCond, ThenGen, ElseGen); in emitParallelCall()
4517 const Expr *IfCond, in emitTaskCall() argument
4625 if (IfCond) { in emitTaskCall()
4626 emitIfClause(CGF, IfCond, ThenCodeGen, ElseCodeGen); in emitTaskCall()
4637 const Expr *IfCond, in emitTaskLoopCall() argument
4651 if (IfCond) { in emitTaskLoopCall()
4652 IfVal = CGF.Builder.CreateIntCast(CGF.EvaluateExprAsBool(IfCond), CGF.IntTy, in emitTaskLoopCall()
5755 const Expr *IfCond, in emitCancelCall() argument
[all …]
H A DCGOpenMPRuntimeGPU.cpp1209 const Expr *IfCond, in emitParallelCall() argument
1214 auto &&ParallelGen = [this, Loc, OutlinedFn, CapturedVars, IfCond, in emitParallelCall()
1252 if (IfCond) in emitParallelCall()
1253 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/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h1030 void createIfVersion(CanonicalLoopInfo *Loop, Value *IfCond,
1181 MapVector<Value *, Value *> AlignedVars, Value *IfCond,
2798 InsertPointTy CodeGenIP, Value *DeviceID, Value *IfCond,
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp5090 Value *IfCond, ValueToValueMapTy &VMap, in createIfVersion() argument
5096 if (Instruction::classof(IfCond)) { in createIfVersion()
5097 SplitBefore = dyn_cast<Instruction>(IfCond); in createIfVersion()
5128 Builder.CreateCondBr(IfCond, ThenBlock, /*ifFalse*/ ElseBlock); in createIfVersion()
5169 Value *IfCond, OrderKind Order, in applySimd() argument
5200 if (IfCond) { in applySimd()
5202 createIfVersion(CanonicalLoop, IfCond, VMap, "simd"); in applySimd()
6341 InsertPointTy CodeGenIP, Value *DeviceID, Value *IfCond, in createTargetData() argument
6454 if (IfCond) { in createTargetData()
6455 emitIfClause(IfCond, BeginThenGen, BeginElseGen, AllocaIP); in createTargetData()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5176 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIf()
5218 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfb()
5240 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfc()
5293 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfeqs()
5305 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfdef()
5329 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIf()
5362 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElse()
H A DMasmParser.cpp6139 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIf()
6168 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfb()
6214 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfidn()
6230 TheCondState.TheCond = AsmCond::IfCond; in parseDirectiveIfdef()
6267 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIf()
6307 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIfb()
6342 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIfdef()
6388 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElseIfidn()
6443 if (TheCondState.TheCond != AsmCond::IfCond && in parseDirectiveElse()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3493 Value *IfCond = DomBI->getCondition(); in FoldTwoEntryPHINode() local
3495 if (isa<ConstantInt>(IfCond)) in FoldTwoEntryPHINode()
3535 if (auto *IfCondPhiInst = dyn_cast<PHINode>(IfCond)) in FoldTwoEntryPHINode()
3604 IsBinOpOrAnd(PN->getIncomingValue(1)) || IsBinOpOrAnd(IfCond)) && in FoldTwoEntryPHINode()
3627 LLVM_DEBUG(dbgs() << "FOUND IF CONDITION! " << *IfCond; in FoldTwoEntryPHINode()
3651 Value *Sel = Builder.CreateSelect(IfCond, TrueVal, FalseVal, "", DomBI); in FoldTwoEntryPHINode()