Lines Matching defs:DidIt
5507 llvm::Value *CpyFn, llvm::Value *DidIt) {
5516 llvm::Value *DidItLD = Builder.CreateLoad(Builder.getInt32Ty(), DidIt);
5534 // If needed allocate and initialize `DidIt` with 0.
5535 // DidIt: flag variable: 1=single thread; 0=not single thread.
5536 llvm::Value *DidIt = nullptr;
5538 DidIt = Builder.CreateAlloca(llvm::Type::getInt32Ty(Builder.getContext()));
5539 Builder.CreateStore(Builder.getInt32(0), DidIt);
5558 // The thread that executes the single region must set `DidIt` to 1.
5561 if (DidIt)
5562 Builder.CreateStore(Builder.getInt32(1), DidIt);
5577 if (DidIt) {
5582 CPFuncs[I], DidIt);