Lines Matching defs:DidIt
5683 llvm::Value *CpyFn, llvm::Value *DidIt) {
5692 llvm::Value *DidItLD = Builder.CreateLoad(Builder.getInt32Ty(), DidIt);
5710 // If needed allocate and initialize `DidIt` with 0.
5711 // DidIt: flag variable: 1=single thread; 0=not single thread.
5712 llvm::Value *DidIt = nullptr;
5714 DidIt = Builder.CreateAlloca(llvm::Type::getInt32Ty(Builder.getContext()));
5715 Builder.CreateStore(Builder.getInt32(0), DidIt);
5735 // The thread that executes the single region must set `DidIt` to 1.
5738 if (DidIt)
5739 Builder.CreateStore(Builder.getInt32(1), DidIt);
5759 if (DidIt) {
5764 CPFuncs[I], DidIt);