50 if (! portContextValue)
53 return new TruncInst(eventValue, IntegerType::get(block->getContext(), 1),
"", block);
61 unsigned valueBitWidth = ((IntegerType *)eventValue->getType())->getBitWidth();
62 unsigned variableBitWidth = 64;
63 if (valueBitWidth < variableBitWidth)
64 eventValue =
new ZExtInst(eventValue, IntegerType::get(block->getContext(), variableBitWidth),
"", block);
66 if (! portContextValue)
76 if (! portContextValue)
78 Value *eventValue = ConstantInt::get(IntegerType::get(module->getContext(), 64), event ? 1 : 0);
87 if (! portContextValue)
106 if (! portContextValue)