本文整理汇总了C#中ValueRef类的典型用法代码示例。如果您正苦于以下问题:C# ValueRef类的具体用法?C# ValueRef怎么用?C# ValueRef使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ValueRef类属于命名空间,在下文中一共展示了ValueRef类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Collidable
public Collidable(int w, int h, MovementController mc, LifeController lc, DamageController dc)
{
ID = -1;
_width = w;
_height = h;
CollidedAt = new Vector2();
_bounds = new Rectangle(Convert.ToInt32(mc.Position.X), Convert.ToInt32(mc.Position.Y), _width, _height);
MovementController = mc;
LifeController = lc;
DamageController = dc;
Controllable = new ValueRef<bool>(true);
_serverID = Interlocked.Increment(ref _itemCount);
}
示例2: IsAConstantVector
public unsafe static ValueRef IsAConstantVector(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAConstantVector(Val.Value));
return ret;
}
示例3: ConstStringInContext
public unsafe static ValueRef ConstStringInContext(ContextRef C, string Str, uint Length, bool DontNullTerminate) {
ValueRef ret = new ValueRef(LLVMPINVOKE.ConstStringInContext(C.Value, Str, Length, DontNullTerminate));
return ret;
}
示例4: ConstIntGetSExtValue
public unsafe static long ConstIntGetSExtValue(ValueRef ConstantVal) {
long ret = LLVMPINVOKE.ConstIntGetSExtValue(ConstantVal.Value);
return ret;
}
示例5: ConstRealOfString
public unsafe static ValueRef ConstRealOfString(TypeRef RealTy, string Text) {
ValueRef ret = new ValueRef(LLVMPINVOKE.ConstRealOfString(RealTy.Value, Text));
return ret;
}
示例6: ConstIntOfStringAndSize
public unsafe static ValueRef ConstIntOfStringAndSize(TypeRef IntTy, string Text, uint SLen, byte Radix) {
ValueRef ret = new ValueRef(LLVMPINVOKE.ConstIntOfStringAndSize(IntTy.Value, Text, SLen, Radix));
return ret;
}
示例7: ConstPointerNull
public unsafe static ValueRef ConstPointerNull(TypeRef Ty) {
ValueRef ret = new ValueRef(LLVMPINVOKE.ConstPointerNull(Ty.Value));
return ret;
}
示例8: GetUndef
public unsafe static ValueRef GetUndef(TypeRef Ty) {
ValueRef ret = new ValueRef(LLVMPINVOKE.GetUndef(Ty.Value));
return ret;
}
示例9: IsAUnaryInstruction
public unsafe static ValueRef IsAUnaryInstruction(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAUnaryInstruction(Val.Value));
return ret;
}
示例10: IsAShuffleVectorInst
public unsafe static ValueRef IsAShuffleVectorInst(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAShuffleVectorInst(Val.Value));
return ret;
}
示例11: IsAPHINode
public unsafe static ValueRef IsAPHINode(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAPHINode(Val.Value));
return ret;
}
示例12: IsAInsertElementInst
public unsafe static ValueRef IsAInsertElementInst(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAInsertElementInst(Val.Value));
return ret;
}
示例13: IsADbgInfoIntrinsic
public unsafe static ValueRef IsADbgInfoIntrinsic(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsADbgInfoIntrinsic(Val.Value));
return ret;
}
示例14: IsABinaryOperator
public unsafe static ValueRef IsABinaryOperator(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsABinaryOperator(Val.Value));
return ret;
}
示例15: IsAGlobalVariable
public unsafe static ValueRef IsAGlobalVariable(ValueRef Val) {
ValueRef ret = new ValueRef(LLVMPINVOKE.IsAGlobalVariable(Val.Value));
return ret;
}