Lines Matching refs:Nucleus
2148 Value *pointerT = Nucleus::createBitCast(pointerS.value, Nucleus::getPointerType(T::getType())); in Pointer()
2156 Value *pointerT = Nucleus::createBitCast(pointerS, Nucleus::getPointerType(T::getType())); in Pointer()
2256 Value *arg = Nucleus::getArgument(index); in Arg()
2263 Nucleus *core;
2286 address = Nucleus::allocateStackVariable(T::getType(), arraySize); in LValue()
2292 return Nucleus::createLoad(address, T::getType(), false, 0); in loadValue()
2298 return Nucleus::createStore(value, address, T::getType(), false, 0); in storeValue()
2304 return Nucleus::createGEP(address, T::getType(), index, unsignedIndex); in getAddress()
2322 Nucleus::createStore(rhs.value, address, T::getType(), false, alignment); in operator =()
2330 Value *tmp = Nucleus::createLoad(ref.address, T::getType(), false, ref.alignment); in operator =()
2331 Nucleus::createStore(tmp, address, T::getType(), false, alignment); in operator =()
2345 return Nucleus::createLoad(address, T::getType(), false, alignment); in loadValue()
2357 …assert(Nucleus::createBitCast(rvalue, T::getType()) == rvalue); // Run-time type should match T,… in RValue()
2371 value = Nucleus::createConstantInt(i); in RValue()
2377 value = Nucleus::createConstantFloat(f); in RValue()
2537 LValue<Pointer<T>>::storeValue(Nucleus::createNullPointer(T::getType())); in Pointer()
2595 …Value *element = Nucleus::createGEP(LValue<Pointer<T>>::loadValue(), T::getType(), Nucleus::create… in operator []()
2603 …Value *element = Nucleus::createGEP(LValue<Pointer<T>>::loadValue(), T::getType(), Nucleus::create… in operator []()
2611 …Value *element = Nucleus::createGEP(LValue<Pointer<T>>::loadValue(), T::getType(), index.value, fa… in operator []()
2619 …Value *element = Nucleus::createGEP(LValue<Pointer<T>>::loadValue(), T::getType(), index.value, tr… in operator []()
2627 return Nucleus::getPointerType(T::getType()); in getType()
2638 Value *element = LValue<T>::getAddress(Nucleus::createConstantInt(index), false); in operator []()
2646 Value *element = LValue<T>::getAddress(Nucleus::createConstantInt(index), true); in operator []()
2694 return RValue<T>(Nucleus::createSelect(condition.value, ifTrue.value, ifFalse.value)); in IfThenElse()
2702 return RValue<T>(Nucleus::createSelect(condition.value, trueValue, ifFalse.value)); in IfThenElse()
2710 return RValue<T>(Nucleus::createSelect(condition.value, ifTrue.value, falseValue)); in IfThenElse()
2719 return RValue<T>(Nucleus::createSelect(condition.value, trueValue, falseValue)); in IfThenElse()
2725 Nucleus::createRet(Nucleus::createLoad(ret.address, Pointer<T>::getType())); in Return()
2726 Nucleus::setInsertBlock(Nucleus::createBasicBlock()); in Return()
2732 Nucleus::createRet(ret.value); in Return()
2733 Nucleus::setInsertBlock(Nucleus::createBasicBlock()); in Return()
2739 core = new Nucleus(); in Function()
2750 Nucleus::createFunction(Return::getType(), arguments); in Function()
2775 return RValue<T>(Nucleus::createBitCast(val.value, T::getType())); in ReinterpretCast()
2783 return RValue<T>(Nucleus::createBitCast(val, T::getType())); in ReinterpretCast()
2795 return RValue<T>(Nucleus::createBitCast(val, T::getType())); in As()
2835 if(Nucleus::getInsertBlock() != endBB) in setup()
2837 testBB = Nucleus::createBasicBlock(); in setup()
2839 Nucleus::createBr(testBB); in setup()
2840 Nucleus::setInsertBlock(testBB); in setup()
2850 BasicBlock *bodyBB = Nucleus::createBasicBlock(); in test()
2851 endBB = Nucleus::createBasicBlock(); in test()
2853 Nucleus::createCondBr(cmp.value, bodyBB, endBB); in test()
2854 Nucleus::setInsertBlock(bodyBB); in test()
2861 Nucleus::createBr(testBB); in end()
2862 Nucleus::setInsertBlock(endBB); in end()
2878 beginBB = Nucleus::getInsertBlock(); in IfElseData()
2879 trueBB = Nucleus::createBasicBlock(); in IfElseData()
2881 endBB = Nucleus::createBasicBlock(); in IfElseData()
2883 Nucleus::setInsertBlock(trueBB); in IfElseData()
2888 Nucleus::createBr(endBB); in ~IfElseData()
2890 Nucleus::setInsertBlock(beginBB); in ~IfElseData()
2891 Nucleus::createCondBr(condition, trueBB, falseBB ? falseBB : endBB); in ~IfElseData()
2893 Nucleus::setInsertBlock(endBB); in ~IfElseData()
2910 Nucleus::createBr(endBB); in elseClause()
2912 falseBB = Nucleus::createBasicBlock(); in elseClause()
2913 Nucleus::setInsertBlock(falseBB); in elseClause()
2933 BasicBlock *body__ = Nucleus::createBasicBlock(); \
2934 Nucleus::createBr(body__); \
2935 Nucleus::setInsertBlock(body__);
2938 BasicBlock *end__ = Nucleus::createBasicBlock(); \
2939 Nucleus::createCondBr((cond).value, end__, body__); \
2940 Nucleus::setInsertBlock(end__); \