Searched refs:createConstantInt (Results 1 – 2 of 2) sorted by relevance
259 declaration = new AllocaInst(type, Nucleus::createConstantInt(arraySize)); in allocateStackVariable()675 return builder->CreateExtractElement(vector, createConstantInt(index)); in createExtractElement()680 return builder->CreateInsertElement(vector, element, createConstantInt(index)); in createInsertElement()700 static_cast<SwitchInst*>(Switch)->addCase(Nucleus::createConstantInt(Case), Branch); in addSwitchCase()711 swizzle[0] = Nucleus::createConstantInt((select >> 0) & 0x03); in createSwizzle()712 swizzle[1] = Nucleus::createConstantInt((select >> 2) & 0x03); in createSwizzle()713 swizzle[2] = Nucleus::createConstantInt((select >> 4) & 0x03); in createSwizzle()714 swizzle[3] = Nucleus::createConstantInt((select >> 6) & 0x03); in createSwizzle()731 swizzle[0] = Nucleus::createConstantInt(mask[0] ? 4 : 0); in createMask()732 swizzle[1] = Nucleus::createConstantInt(mask[1] ? 5 : 1); in createMask()[all …]
204 static llvm::ConstantInt *createConstantInt(int64_t i);205 static llvm::ConstantInt *createConstantInt(int i);206 static llvm::ConstantInt *createConstantInt(unsigned int i);2611 value = (llvm::Value*)Nucleus::createConstantInt(i); in RValue()2873 llvm::Value *element = LValue::getAddress((llvm::Value*)Nucleus::createConstantInt(index)); in operator []()