search for: subtmp

Displaying 7 results from an estimated 7 matches for "subtmp".

2008 Mar 31
5
[LLVMdev] Additional Optimization I'm Missing?
...7 = load double* %population ; <double> [#uses=1] %multmp8 = mul double 1.000000e-01, %population7 ; <double> [#uses=1] store double %multmp8, double* %deaths %births9 = load double* %births ; <double> [#uses=1] %deaths10 = load double* %deaths ; <double> [#uses=1] %subtmp = sub double %births9, %deaths10 ; <double> [#uses=1] store double %subtmp, double* %net_change %population11 = load double* %population ; <double> [#uses=1] %net_change12 = load double* %net_change ; <double> [#uses=1] %addtmp = add double %population11, %net_change12 ; &...
2018 Jul 20
2
LLVM FunctionType cannot be returned as VectorType?
...t;4 x i64> %leaf12, <4 x i64> %leaf13, <4 x i64> %leaf14) { entry: %addtmp = add <4 x i64> %leaf14, %leaf13 %leaf8.neg = sub <4 x i64> zeroinitializer, %leaf8 %xortmp = xor <4 x i64> %addtmp, %leaf11 %addtmp1 = add <4 x i64> %leaf8.neg, %leaf7 %subtmp = add <4 x i64> %addtmp1, %leaf9 %addtmp2 = add <4 x i64> %subtmp, %leaf10 %addtmp3 = add <4 x i64> %addtmp2, %xortmp ret <4 x i64> %addtmp3 } /////////////////////////////////////////////////////////////////////////////////////////// However, when I use JIT Exec...
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
...x i64> %leaf14) { > > entry: > > %addtmp = add <4 x i64> %leaf14, %leaf13 > > %leaf8.neg = sub <4 x i64> zeroinitializer, %leaf8 > > %xortmp = xor <4 x i64> %addtmp, %leaf11 > > %addtmp1 = add <4 x i64> %leaf8.neg, %leaf7 > > %subtmp = add <4 x i64> %addtmp1, %leaf9 > > %addtmp2 = add <4 x i64> %subtmp, %leaf10 > > %addtmp3 = add <4 x i64> %addtmp2, %xortmp > > ret <4 x i64> %addtmp3 > > } > > > ///////////////////////////////////////////////////////////////////////...
2018 Jul 23
2
LLVM FunctionType cannot be returned as VectorType?
...x i64> %leaf14) { > > entry: > > %addtmp = add <4 x i64> %leaf14, %leaf13 > > %leaf8.neg = sub <4 x i64> zeroinitializer, %leaf8 > > %xortmp = xor <4 x i64> %addtmp, %leaf11 > > %addtmp1 = add <4 x i64> %leaf8.neg, %leaf7 > > %subtmp = add <4 x i64> %addtmp1, %leaf9 > > %addtmp2 = add <4 x i64> %subtmp, %leaf10 > > %addtmp3 = add <4 x i64> %addtmp2, %xortmp > > ret <4 x i64> %addtmp3 > > } > > > > > /////////////////////////////////////////////////////////////...
2010 Feb 17
2
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...iable name"); } Value *BinaryExprAST::Codegen() { Value *L = LHS->Codegen(); Value *R = RHS->Codegen(); if (L == 0 || R == 0) return 0; switch (Op) { case '+': return Builder.CreateAdd(L, R, "addtmp"); case '-': return Builder.CreateSub(L, R, "subtmp"); case '*': return Builder.CreateMul(L, R, "multmp"); case '<': L = Builder.CreateFCmpULT(L, R, "cmptmp"); // Convert bool 0/1 to double 0.0 or 1.0 return Builder.CreateUIToFP(L, Type::getDoubleTy(getGlobalContext()), "booltmp")...
2010 Feb 17
0
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...*BinaryExprAST::Codegen() { > Value *L = LHS->Codegen(); > Value *R = RHS->Codegen(); > if (L == 0 || R == 0) return 0; > > switch (Op) { > case '+': return Builder.CreateAdd(L, R, "addtmp"); > case '-': return Builder.CreateSub(L, R, "subtmp"); > case '*': return Builder.CreateMul(L, R, "multmp"); > case '<': > L = Builder.CreateFCmpULT(L, R, "cmptmp"); > // Convert bool 0/1 to double 0.0 or 1.0 > return Builder.CreateUIToFP(L, > Type::getDoubleTy(getGlobalContext...
2010 Feb 17
1
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...>>  Value *L = LHS->Codegen(); >>  Value *R = RHS->Codegen(); >>  if (L == 0 || R == 0) return 0; >> >>  switch (Op) { >>  case '+': return Builder.CreateAdd(L, R, "addtmp"); >>  case '-': return Builder.CreateSub(L, R, "subtmp"); >>  case '*': return Builder.CreateMul(L, R, "multmp"); >>  case '<': >>    L = Builder.CreateFCmpULT(L, R, "cmptmp"); >>    // Convert bool 0/1 to double 0.0 or 1.0 >>    return Builder.CreateUIToFP(L, >> Type::getD...